|
From: <vid...@be...> - 2003-07-31 10:16:10
|
Hi Martijn
Thanks four your interest in log4domino. Regretably, the documentation
available online is not entirely up to date.
The log4domino framework should be initialized like this:
com.bekk.log4jext.domino.DominoConfigurator.configureAgent(
"log_db_name.nsf", session, false ); // Initialize the framework.
Category log = Category.getInstance( JavaAgent.class.getName() ); //
Retrieve a log category for the given class (set up in the priorities tab
of the log configuration document)
log.debug( "Hello world" );
Hope this helps.
Best regards
Vidar
"Martijn Mulder"
<martijn_mulder@h
otmail.com> To
vid...@be...
31.07.2003 12:04 cc
Subject
log4domino
Hi Vidar,
I have been looking at using your log4domino tool. It looks great! Thanks.
I
hope you don't mind if I ask you a question (I guess you get many
questions)?
I have been trying to set log4domino up in a java agent but I think the
documentation on that is not complete. In the documentation it says you
should use the follwoing statement:
DominoConfigurator.configureAgent("xmu/log4dom0.nsf", session, false );
Do I also need to instanciate a Category ? or a DominoCategory ?
I would really appreciate it if you could send me a java code snippet for
the initialisation.
Thanks,
Martijn Mulder
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
|