diff options
| author | Comment <tim@gray.(none)> | 2013-09-20 13:59:36 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-09-20 13:59:36 +0100 |
| commit | a740d4167e6dbd95dbd82e5d217761af8ef12b6f (patch) | |
| tree | 0c0f533c0768cfb412b619fcf6b4ee1246de82e6 /rotord/src/rotord.h | |
| parent | da3e14a2d734fbc33a37419bf93602a91aea0611 (diff) | |
removed rotating log
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)); |
