Hi,

The RollingFileAppender rolls over files when they reach a certain size.
What is the technique it uses to do the roll over if for e.g. the
maxBackupIndex is 10 and there are currently 10 files? Does it simply
delete logs.out.10 and rename logs.out.9 as logs.out.10, logs.out.8 as
logs.out.9 and so on, or does it do file copying? I guess what I am
asking is what is penalty on the JVM while the rollover is in progress,
will all threads doing logging at that time get suspended till the
rollover is complete? If so, what is the approximate relation between
this suspension period and the maxBackupIndex?

Thanks
Rohit



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to