I have been using log4j for a long time, both with file appenders and both with console appenders. Logfactor5 is a really great frontend that provides a great and convenient way to browse the logs.
After using it for 5 days you get addicted to it. You can easily filter which sources you want to see the logs from, which levels are you interested in - and logging becomes right much more friendly.
I do know that log4J cannot be used on the exams provided by the sun
, and I really like the logging concept introduced in 1.4, but I haven't seen a similar GUI frontend which could fascilitate the browsing of the logs.
I use
Ant,
JUnit and I am currently using log4j because it helps me a lot - much faster than debugging. I forward the logging to a file, because after running the daily build which includes the JUnit tests I can see the conversation of my classes in a developer friendly, filterable GUI(lf5).
log4j.properties:
Later on I will change the import statements to use the Logger included in 1.4. If I can found any smart frontend for 1.4 (I am sure that it is already being developed) then I switch immeditely to sun's solution and I will change the configuration file for the logging, too.
Ignoring logging means to turn off the laudspeaker of your application. It is a significant part of the socalled Safe Programming.
Best wishes,
Dori
P.S.
Why does this mail gets so wide? I made it the same way as usual..
[ January 08, 2004: Message edited by: Dora Gal ]
[ January 08, 2004: Message edited by: Dora Gal ]
[ January 09, 2004: Message edited by: Dora Gal ]