log rotate

2 views
Skip to first unread message

pedrobl

unread,
Oct 28, 2009, 6:13:10 PM10/28/09
to ColdBox Platform

Hi!

Is there a way to rotate the log when it reaches a certain length?

What I'm looking for is if coldbox can be configured to move the log
file when it reaches a certain length. The files rotated would only
need a counter for their name, something like:
logs/
myapp.log (current)
myapp.log.1 (most recent)
...
myapp.log.n (eldest)

TIA!

Pedro.

Luis Majano

unread,
Oct 28, 2009, 7:19:08 PM10/28/09
to col...@googlegroups.com
Logbox already does this. Use The rolling file appender or the async
rolling file appender.
--
Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

pedrobl

unread,
Oct 28, 2009, 9:25:38 PM10/28/09
to ColdBox Platform

How can I configure it? BTW, I'm still using version 2.6.4... Is it
available in versions before 3.0?

Thanks for the answer, and for the great framework,

Pedro.

Sana

unread,
Oct 28, 2009, 10:16:04 PM10/28/09
to ColdBox Platform
Hi Pedro,

I would suggest to use v3.0,

Its quite stable now, all you have to refactor some coldbox.xml.cfm

download nightly build, every thing is there.
v3.0 Guide
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbWhatsNew3.00

Even model integration been improved allot, then might you don't need
coldspring any-more.

Thanks

Luis Majano

unread,
Oct 29, 2009, 12:05:21 AM10/29/09
to col...@googlegroups.com
Pedro, 2.6.4 also supports this, please read the configuration guide in the wiki.

pedrobl

unread,
Oct 29, 2009, 7:19:21 AM10/29/09
to ColdBox Platform

I found it, finally! Anyone can find it here, in the second paragraph:

http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbConfigGuide#EnableColdboxLogging

Sorry for another RTFM question... there are so many things, all
wonderfully documented :P

@Sana: I need some time to port my current CB 2.6.4 app to 3.0 and
check everything works, I'll do it as soon as I can.

Thanks Luis and Sana!

Pedro.

lynder kadenge

unread,
Nov 7, 2009, 11:26:00 PM11/7/09
to col...@googlegroups.com
What is Standard London Law Reporting Systems.And how does it
operate.Are there any limitations to this law.
Reply all
Reply to author
Forward
0 new messages