commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishist mandapaka <vishi...@gmail.com>
Subject Re: [Logging] Problem with rollover
Date Mon, 30 Jun 2008 02:53:08 GMT
Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Vishist,
>
> As Simon mentioned, this is not a commons-logging issue, it is a log4j
> issue. In the interest of getting your question answered, though, please
> read on.
>
    My apologies for posting to a wrong list. I'll continue my search 
with log4j group.
> vishist mandapaka wrote:
> | We're using commons-logging as part of our logging framework. The
> | environment is websphere process server 6.x on windows server 2003 with
> | jdk 1.4. For some reason, the rollover of logs files is not happening
> | and its overwriting the same file.
>
> [snip]
>
> | log4j.appender.debug.MaxFileSize=5000KB
> | log4j.appender.debug.MaxBackupIndex=9
>
> | The same configuration file was used
> | with other projects on weblogic and websphere portal and its working
> | fine.
>
> Were these other projects using the same version of log4j? Are you sure
> that log4j is being used by commons-logging, or is it possible that the
> java.util.logging is being used instead, with no rolling configured
> (unlikely given that the backup files are being expunged on startup).
I'm sure that log4j 1.2.8 is being used by commons as the pattern of log 
format, log file size (changed the file size to ~100 KB to test 
rollover) is consistent with that configured in the properties file. The 
same
properties file is used by portal. The strange thing is that how can 
logging framework delete a file like "application.log.[1-10]" created by 
me and then continue writing to "application.log" file.

Anyway, I appreciate you responding to me.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkhoRbMACgkQ9CaO5/Lv0PDN/wCeLxrsjcDkNMui6ccqRmr9XLrn
> /GQAn2zSBA65ZWeWSludNvFenL1JFzOh
> =dRM/
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
thanks,
vishist.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message