ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | May 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] Enhydra.logger() gone now?


Hi,

Since 5.1-6 version, Enhydra uses its own abstract logger again - with two
implementations (standard and log4j implementation). So if you want to use
log4j implementation in enhydra, these two parameters must be set in
multiserver.conf file.

Server.LogClassName = com.lutris.logging.Log4jLogger
Server.Log4j = "C:/Projekti/EnhydraX/output/enhydra5.1/log4j.xml"

In your application, you can use Enhydra.getLogChannel() method (method of
enhydra logger interface) to return LogChannel and use write methods of
LogChannel to write messages.

Regards,
Sinisa Milosevic


----- Original Message -----
From: "Mike Warne" <mwarne@xxxxxxxxxxxxxxxxxx>
To: <enhydra@xxxxxxxxxxxxx>
Sent: Saturday, May 08, 2004 1:42 AM
Subject: [enhydra] Enhydra.logger() gone now?


> Hi,
>
> I noticed that in the later releases of Enhydra 5.1xx,
Enhydra.getLlogger()
> is missing.  My application used this for logging previously, so I am
unable
> to compile my applications.
>
> What is the proper way for presentation objects to access the log4j
logging
> facility at this time?
>
> Thanks.
> Mike Warne.
>
>
>


----------------------------------------------------------------------------
----


>
> --
> You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.