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)
On Wednesday, October 28, 2009, pedrobl <pe...@bezunartea.net> wrote:
> 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)
> Logbox already does this. Use The rolling file appender or the async
> rolling file appender.
> On Wednesday, October 28, 2009, pedrobl <pe...@bezunartea.net> wrote:
> > 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 F. Majano
> President
> Ortus Solutions, Corp
> 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.
> On Oct 29, 12:19 am, Luis Majano <lmaj...@gmail.com> wrote:
> > Logbox already does this. Use The rolling file appender or the async
> > rolling file appender.
> > On Wednesday, October 28, 2009, pedrobl <pe...@bezunartea.net> wrote:
> > > 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 F. Majano
> > President
> > Ortus Solutions, Corp
> Even model integration been improved allot, then might you don't need
> coldspring any-more.
> Thanks
> On Oct 29, 1:25 am, pedrobl <pe...@bezunartea.net> wrote:
> > 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.
> > On Oct 29, 12:19 am, Luis Majano <lmaj...@gmail.com> wrote:
> > > Logbox already does this. Use The rolling file appender or the async
> > > rolling file appender.
> > > On Wednesday, October 28, 2009, pedrobl <pe...@bezunartea.net> wrote:
> > > > 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 F. Majano
> > > President
> > > Ortus Solutions, Corp