commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Seiler <...@seiler.us>
Subject commons-logging to dynamically-named files?
Date Fri, 30 Sep 2005 21:05:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hullo.

Playing with commons-logging today.  Seems to do what I'll need although
I would like to be able to determine the file handler/appender name at
runtime.  Most often in my case, the logfile name is partially based on
date/time, e.g. "blah_20050930160200.log".

The user's guide only mentions setting the file name as a property in a
properties file.  I tried setting the property in (taking a guess) the
System properties but it seems that the file is loaded into a special
Log props object.

None of my google/list archive searches have turned up anything useful.
 If anyone has any hints or examples it would be much appreciated.
- --
Don Seiler
don@seiler.us

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFC87F041
Fingerprint: 0B56 50D5 E91E 4D4C 83B7  207C 76AC 5DA2 FC87 F041
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDPaiHdqxdovyH8EERAlj9AJ9/k2tbIZzH8LFMwp8XOBwSgjwY3QCfRR9q
vaEWVpLUCnVmeUBpUBaIvSU=
=wRRb
-----END PGP SIGNATURE-----

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


Mime
View raw message