avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Faltinsky/Denic" <faltin...@denic.de>
Subject <logs> <category name"" target="default" .... />
Date Thu, 27 Dec 2001 15:26:41 GMT

Hi,

one question regarding the server.xml (now the environment.xml):
[..]
<logs>
     <category name="" target="default" priority="DEBUG" />
     <category name="try" target="try-target" priority="DEBUG" />

     <log-target name="default" location="/logs/socket.log" />
     <log-target name="try-target" location="/logs/try.log" />
</logs>
[..]
How is it possible to get access to the /logs/try.log-File?
If a Blockclass extends AbstractLoggable, "getLogger" is enough to get
access to the "default"-target. That works fine with the other blocks.

But for the "try", it doesn't work. I already tried the
DefaultLogKitManager (getLogger(String categoryName)), but unfortunately I
only get an NullPointerException at that point.

Any idea?
Many thanks in advance.

Holger


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message