summaryrefslogtreecommitdiff
path: root/rotord/src/rotord.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-11-08 10:43:55 +0000
committerTim Redfern <tim@eclectronics.org>2013-11-08 10:43:55 +0000
commitb0a84b45721643298870322bd2335e20c359b10d (patch)
tree84ece9bd8d0d3cb68c2f27a54d60bebcc1f8d259 /rotord/src/rotord.h
parenta22751cac56d143e41f1336b962d83032e06dd61 (diff)
fix log disable
Diffstat (limited to 'rotord/src/rotord.h')
-rw-r--r--rotord/src/rotord.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rotord/src/rotord.h b/rotord/src/rotord.h
index 6324fd2..dd6a25c 100644
--- a/rotord/src/rotord.h
+++ b/rotord/src/rotord.h
@@ -142,6 +142,8 @@ int main(int argc, char** argv)
AutoPtr<Formatter> formatter(new PatternFormatter("%d-%m-%Y %H:%M:%S %s: %t"));
AutoPtr<Channel> formattingChannel(new FormattingChannel(formatter, splitterChannel));
+ Logger& sLog = Logger::create("Rotor", formattingChannel, Message::PRIO_TRACE);
+
Logger& logger = Logger::get("Rotor");
logger.information("starting rendering daemon");