summaryrefslogtreecommitdiff
path: root/rotord/src/rotord.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-09-20 13:59:36 +0100
committerComment <tim@gray.(none)>2013-09-20 13:59:36 +0100
commita740d4167e6dbd95dbd82e5d217761af8ef12b6f (patch)
tree0c0f533c0768cfb412b619fcf6b4ee1246de82e6 /rotord/src/rotord.h
parentda3e14a2d734fbc33a37419bf93602a91aea0611 (diff)
removed rotating log
Diffstat (limited to 'rotord/src/rotord.h')
-rw-r--r--rotord/src/rotord.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/rotord.h b/rotord/src/rotord.h
index ecdfefc..0eb1eb3 100644
--- a/rotord/src/rotord.h
+++ b/rotord/src/rotord.h
@@ -126,14 +126,14 @@ int main(int argc, char** argv)
AutoPtr<SplitterChannel> splitterChannel(new SplitterChannel());
AutoPtr<Channel> consoleChannel(new ConsoleChannel());
AutoPtr<Channel> fileChannel(new FileChannel("Rotord.log"));
- AutoPtr<FileChannel> rotatedFileChannel(new FileChannel("Rotord_R.log"));
+ //AutoPtr<FileChannel> rotatedFileChannel(new FileChannel("Rotord_R.log"));
- rotatedFileChannel->setProperty("rotation", "100");
- rotatedFileChannel->setProperty("archive", "timestamp");
+ //rotatedFileChannel->setProperty("rotation", "100");
+ //rotatedFileChannel->setProperty("archive", "timestamp");
splitterChannel->addChannel(consoleChannel);
splitterChannel->addChannel(fileChannel);
- splitterChannel->addChannel(rotatedFileChannel);
+ //splitterChannel->addChannel(rotatedFileChannel);
AutoPtr<Formatter> formatter(new PatternFormatter("%d-%m-%Y %H:%M:%S %s: %t"));
AutoPtr<Channel> formattingChannel(new FormattingChannel(formatter, splitterChannel));