summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-03-01 23:03:36 +0000
committerChris Wilson <chris+github@qwirx.com>2008-03-01 23:03:36 +0000
commit71d5f5ad81ffeee3d4e5271197a004e54413a3d0 (patch)
tree53b6c2a79a9d17da092076f3eadf8968cf00e808 /lib
parent69bb86cd6a6ca5f914b8d35bb42501f2b73377d0 (diff)
Only log daemon banner to syslog, not to console, as this is probably
what users expect (and they have no way to control verbosity on the console this early).
Diffstat (limited to 'lib')
-rw-r--r--lib/server/Daemon.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp
index 62ac0e30..bb9785d8 100644
--- a/lib/server/Daemon.cpp
+++ b/lib/server/Daemon.cpp
@@ -348,9 +348,7 @@ int Daemon::Main(const std::string &rConfigFileName)
{
// Banner (optional)
{
- #ifndef NDEBUG
- BOX_NOTICE(DaemonBanner());
- #endif
+ BOX_SYSLOG(Log::NOTICE, DaemonBanner());
}
std::string pidFileName;