Hello Zamek

How about:

getLogger().debug("your message here");

Regards,

John


Zamek wrote:


Hello All,

I tried to logging in my xsp, but it cannot works:

Settings:
WEB-INF/web.xml:
<init-param>
     <param-name>work-directory</param-name>
     <param-value>WEB-INF/work</param-value>
   </init-param>

and I've got some samples:
1.sample

<log:logger name="test" filename="/home/zamek/public_html/a/java/xsp.log"/>
<log:debug>Where is my log message???????????</log:debug>

there isn't xsp.log in this path, and there isn't any error msg in cocoon's core.log (level of core.log is debug by cocoon.xconf)

2. sample: no need to define <log:logger> in my xsp, simply to send messages with

<log:debug>blahblah</log:debug>

there isn't any mesage all of cocoon's logs.

So how can I logging in my xsp?
_Any working example is wanted_ :-)




--
---------------------------------------------------------
Jentro Technologies GmbH
John L. Webber, Software Development
---------------------------------------------------------
Rosenheimer Str. 145e 81671 München
Tel. +49 89 189 169 80 mailto:[EMAIL PROTECTED] Fax +49 89 189 169 99 http://www.jentro.com
---------------------------------------------------------
NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments without any use or further distribution of its contents. Please note that any unauthorised review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you. ---------------------------------------------------------



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to