You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2004/05/06 13:59:37 UTC

Log message with logkit

Hi,

Is it possible to use the logkit to send the message to the console instead 
of a file ?

Thanks
Lionel

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


Re: Log message with logkit

Posted by Lionel Crine <cr...@4dconcept.fr>.
Found it.
thx

At 11:41 06/05/2004 -0400, you wrote:
>Lionel Crine wrote:
>
>>Hi,
>>Is it possible to use the logkit to send the message to the console 
>>instead of a file ?
>
>Sure.
>
>http://avalon.apache.org/logkit/api/org/apache/log/output/io/StreamTarget.html
>
>new StreamTarget(System.out, formatter);

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


Re: Log message with logkit

Posted by Berin Loritsch <bl...@d-haven.org>.
Lionel Crine wrote:

> Hi,
> 
> Is it possible to use the logkit to send the message to the console 
> instead of a file ?

Sure.

http://avalon.apache.org/logkit/api/org/apache/log/output/io/StreamTarget.html

new StreamTarget(System.out, formatter);