From a740d4167e6dbd95dbd82e5d217761af8ef12b6f Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 20 Sep 2013 13:59:36 +0100 Subject: removed rotating log --- rotord/src/rotord.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rotord/src/rotord.h') 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(new SplitterChannel()); AutoPtr consoleChannel(new ConsoleChannel()); AutoPtr fileChannel(new FileChannel("Rotord.log")); - AutoPtr rotatedFileChannel(new FileChannel("Rotord_R.log")); + //AutoPtr 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(new PatternFormatter("%d-%m-%Y %H:%M:%S %s: %t")); AutoPtr formattingChannel(new FormattingChannel(formatter, splitterChannel)); -- cgit v1.2.3