diff options
-rw-r--r-- | bin/bbstored/BackupConstants.h | 2 | ||||
-rw-r--r-- | bin/bbstored/BackupStoreDaemon.cpp | 2 | ||||
-rw-r--r-- | lib/common/Logging.cpp | 4 | ||||
-rw-r--r-- | lib/win32/emu.h | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/bin/bbstored/BackupConstants.h b/bin/bbstored/BackupConstants.h index a2690555..30e61de5 100644 --- a/bin/bbstored/BackupConstants.h +++ b/bin/bbstored/BackupConstants.h @@ -49,7 +49,7 @@ #ifndef BACKUPCONSTANTS__H #define BACKUPCONSTANTS__H -#define BACKUP_STORE_DEFAULT_ACCOUNT_DATABASE_FILE "/etc/box/backupstoreaccounts" +#define BACKUP_STORE_DEFAULT_ACCOUNT_DATABASE_FILE "/etc/boxbackup/backupstoreaccounts" // 15 minutes to timeout (milliseconds) #define BACKUP_STORE_TIMEOUT (15*60*1000) diff --git a/bin/bbstored/BackupStoreDaemon.cpp b/bin/bbstored/BackupStoreDaemon.cpp index c045153b..1a30d937 100644 --- a/bin/bbstored/BackupStoreDaemon.cpp +++ b/bin/bbstored/BackupStoreDaemon.cpp @@ -240,7 +240,7 @@ void BackupStoreDaemon::Run() SetProcessTitle("housekeeping, idle"); whichSocket = 1; // Change the log name - ::openlog("bbstored/hk", LOG_PID, LOG_LOCAL6); + ::openlog("bbstored/hk", LOG_PID, LOG_DAEMON); // Log that housekeeping started BOX_INFO("Housekeeping process started"); // Ignore term and hup diff --git a/lib/common/Logging.cpp b/lib/common/Logging.cpp index f9774a32..008e5916 100644 --- a/lib/common/Logging.cpp +++ b/lib/common/Logging.cpp @@ -371,7 +371,7 @@ bool Syslog::Log(Log::Level level, const std::string& rFile, Syslog::Syslog() { - ::openlog("Box Backup", LOG_PID, LOG_LOCAL6); + ::openlog("Box Backup", LOG_PID, LOG_DAEMON); } Syslog::~Syslog() @@ -383,5 +383,5 @@ void Syslog::SetProgramName(const std::string& rProgramName) { mName = rProgramName; ::closelog(); - ::openlog(mName.c_str(), LOG_PID, LOG_LOCAL6); + ::openlog(mName.c_str(), LOG_PID, LOG_DAEMON); } diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 67bf8966..5eb40a52 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -292,8 +292,7 @@ HANDLE openfile(const char *filename, int flags, int mode); #define LOG_ERR 3 #define LOG_CRIT LOG_ERR #define LOG_PID 0 -#define LOG_LOCAL5 0 -#define LOG_LOCAL6 0 +#define LOG_DAEMON 0 void openlog (const char * daemonName, int, int); void closelog(void); |