diff options
Diffstat (limited to 'rotord/src/rotord.h')
| -rw-r--r-- | rotord/src/rotord.h | 8 |
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)); |
