Re: [Log4cplus-devel] Looking for sample example for logging into a file
Logging Framework for C++
Brought to you by:
wilx
From: Václav H. <v.h...@sh...> - 2009-10-12 21:00:09
|
raJkumar subbarayan wrote, On 12.10.2009 22:02: > Hi, Hi. > > Looking forward to use your library in my application but I am missing > documentation for the same.Can you help me getting started by providing > a example to log into file.My expectation is to log in files of 64KB > size as described in the following > question. http://stackoverflow.com/questions/1553885/how-to-write-logs-to-files-of-size-64kb-in-c-vc . Take a look at how test/fileappnder_test does things. It uses RollingFileAppender class. The key properties for this class are MaxFileSize and MaxBackupIndex. -- VH |