Java Logger vs Log4J

0 views
Skip to first unread message

Tony Lockyer

unread,
Jul 26, 2004, 1:02:12 PM7/26/04
to
I'm trying to customize the output of Java Logger (format the output)
like you can do using Log4J. Anyone know if it is possible?

Chris

unread,
Jul 28, 2004, 12:16:56 PM7/28/04
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony Lockyer wrote:

Hi,
I've never used Log4J so I don't know what it looks like. You should
be able to duplicate just about any output formatting by writing your
own custom subclass of java.util.logging.Formatter and attaching it
to the appropriate Handler object.

Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB9GCgxSrXuMbw1YRAq4yAKCZWmdReDRlz+CfMUuzrM3kPelDAgCgo0k/
jNvqs81Ze4lWnzDGX4/PXQs=
=e4tX
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages