Re: [Cppcms-users] Generate log file every day
Brought to you by:
artyom-beilis
|
From: Shiv S. D. <shi...@gm...> - 2013-11-28 14:57:53
|
http://www.thegeekstuff.com/2010/07/logrotate-examples/ should get you started. On Thu, Nov 28, 2013 at 8:27 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > You can use logrotate if you on Unix. > > > On Thu, Nov 28, 2013 at 7:59 PM, 陈抒 <csf...@gm...> wrote: > >> Hi, >> Does cppcms support write a new log file every day and just keep the >> last 7 days log files? >> My c++ TCP server is using cppcms log library now, the size of one >> single log file is usually over 600 MB. I want to split it into daily log >> file to decrease its size because I will develop a script tool to analyze >> them in the future. >> >> Dean Chen >> Best regards >> http://blog.csdn.net/csfreebird >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > -- > Respect, > Shiv Shankar Dayal > -- Respect, Shiv Shankar Dayal |