nrtb-core team mailing list archive
-
nrtb-core team
-
Mailing list archive
-
Message #00045
[Branch ~fpstovall/nrtb/cpp_common] Rev 12: Minor changes to the log format and to the common libs build order.
------------------------------------------------------------
revno: 12
committer: fpstovall@xxxxxxxxx
branch nick: dev
timestamp: Sun 2010-12-26 23:21:16 -0500
message:
Minor changes to the log format and to the common libs build order.
modified:
common/Makefile
common/logger/log_setup.cpp
--
lp:~fpstovall/nrtb/cpp_common
https://code.launchpad.net/~fpstovall/nrtb/cpp_common
Your team NRTB Core is subscribed to branch lp:~fpstovall/nrtb/cpp_common.
To unsubscribe from this branch go to https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+edit-subscription
=== modified file 'common/Makefile'
--- common/Makefile 2010-12-25 22:44:22 +0000
+++ common/Makefile 2010-12-27 04:21:16 +0000
@@ -36,5 +36,5 @@
@cd common_rl; make ${action}
@cd point; make ${action}
@cd timer; make ${action}
+ @cd logger; make ${action}
@cd confreader; make ${action}
-# @cd logger; make ${action}
=== modified file 'common/logger/log_setup.cpp'
--- common/logger/log_setup.cpp 2010-12-27 03:55:39 +0000
+++ common/logger/log_setup.cpp 2010-12-27 04:21:16 +0000
@@ -34,9 +34,9 @@
{
AutoPtr<SimpleFileChannel> pFile(new SimpleFileChannel);
pFile->setProperty("path", logfilename);
- pFile->setProperty("rotation", "2 K");
+ pFile->setProperty("rotation", "250 K");
AutoPtr<PatternFormatter> pPF(new PatternFormatter);
- pPF->setProperty("pattern", "%Y-%m-%d %H:%M:%S %s: %t");
+ pPF->setProperty("pattern", "%Y-%m-%d %H:%M:%S [%s:%p] %t");
AutoPtr<FormattingChannel> pFC(new FormattingChannel(pPF, pFile));
Logger::root().setChannel(pFC);
Logger::root().notice("Logging system initialized");