diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-09-14 00:26:13 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-09-14 00:26:13 +0000 |
commit | e5717c428009d7702ce5d8bf65217f759f114294 (patch) | |
tree | 142ac1a7068bf73166560f7921ec3b6213b5a079 /bin/bbackupctl/bbackupctl.cpp | |
parent | b6dd422728b2adab1d4d2c7a5d477aecc9c37cfa (diff) |
Prefix event log application name with Box Backup, and remove it from
all calls to SetProgramName, for better consistency on Unix.
Make bbstoreaccounts and bbackupctl set their program names for logging.
Don't override supplied tag with service name when BackupDaemon
is run as a service.
Diffstat (limited to 'bin/bbackupctl/bbackupctl.cpp')
-rw-r--r-- | bin/bbackupctl/bbackupctl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/bbackupctl/bbackupctl.cpp b/bin/bbackupctl/bbackupctl.cpp index 52f7c2ed..27c79926 100644 --- a/bin/bbackupctl/bbackupctl.cpp +++ b/bin/bbackupctl/bbackupctl.cpp @@ -62,9 +62,7 @@ int main(int argc, const char *argv[]) MAINHELPER_START -#if defined WIN32 && ! defined NDEBUG - ::openlog("Box Backup (bbackupctl)", 0, 0); -#endif + Logging::SetProgramName("bbackupctl"); // Filename for configuration file? std::string configFilename; |