From 3fc5d448cdc043c815b177ade72305d970c9f84c Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Wed, 15 Jun 2011 16:59:39 -0700 Subject: Bugfix 6767: Move log files from /tmp to /var/log/vyatta. --- src/cli_val.h | 4 ++-- src/cstore/cstore.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cli_val.h b/src/cli_val.h index 9d987d3..3538402 100644 --- a/src/cli_val.h +++ b/src/cli_val.h @@ -100,8 +100,8 @@ extern void release_config_lock(void); #define OPQ_NAME ".wh.__dir_opaque" /*** output ***/ -#define LOGFILE_STDOUT "/tmp/cfg-stdout.log" -#define LOGFILE_STDERR "/tmp/cfg-stderr.log" +#define LOGFILE_STDOUT "/var/log/vyatta/cfg-stdout.log" +#define LOGFILE_STDERR "/var/log/vyatta/cfg-stderr.log" extern int out_fd; extern FILE *err_stream; diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp index ce937c9..9a5961f 100644 --- a/src/cstore/cstore.cpp +++ b/src/cstore/cstore.cpp @@ -68,7 +68,7 @@ const string Cstore::C_ENV_SHAPI_HELP_STRS = "_cli_shell_api_hstrs"; //// dirs/files const string Cstore::C_ENUM_SCRIPT_DIR = "/opt/vyatta/share/enumeration"; -const string Cstore::C_LOGFILE_STDOUT = "/tmp/cfg-stdout.log"; +const string Cstore::C_LOGFILE_STDOUT = "/var/log/vyatta/cfg-stdout.log"; //// sorting const unsigned int Cstore::SORT_DEFAULT = 0; -- cgit v1.2.3