diff options
author | Reinhard Tartler <siretart@tauware.de> | 2008-07-24 15:15:16 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2008-07-24 15:15:16 +0200 |
commit | 10d6afa627fdb302e720ce8d6514040d23d6342a (patch) | |
tree | 6b48d21199ba0e3b9c1145a5d03327a2a49eba9e /bin/bbstored | |
parent | 3dff46f2dcaaa91e52d1229ce0e34393f3ddfc46 (diff) |
log to facility LOG_DAEMON instead of LOG_LOCAL6
Diffstat (limited to 'bin/bbstored')
-rw-r--r-- | bin/bbstored/BackupConstants.h | 2 | ||||
-rw-r--r-- | bin/bbstored/BackupStoreDaemon.cpp | 2 |
2 files changed, 2 insertions, 2 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 |