Hello,
I am using cocoon.log.debug() in flow but nothing is output
in the log file.
I see DEBUG messages from other parts of cocoon.
I am using log4j
Thanks
[EMAIL PROTECTED] wrote:
Hello,
I am using cocoon.log.debug() in flow but nothing is output in the log file.
I see DEBUG messages from other parts of cocoon.
I am using log4j
Look in WEB-INF/web.xml for the following:
!--
If you want to configure log4j using Cocoon, then you
Since he is getting other DEBUG messages I think the problem is that he has the
flow log level set to WARN instead of DEBUG.
Also wrap your debug statement always with
if (cocoon.log.isDebugEnabled())
(if you don't the debug statement is first computed, and then checked for debug
level. In
Where is this flow log level set? There's nothing related to flow in
log4j.xconf
-Original Message-
From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 12:57 PM
To: users@cocoon.apache.org; [EMAIL PROTECTED]
Subject: RE: flow not logging
Since he is getting
; [EMAIL PROTECTED]
Subject: RE: flow not logging
Since he is getting other DEBUG messages I think the problem
is that he
has the flow log level set to WARN instead of DEBUG.
Also wrap your debug statement always with
if (cocoon.log.isDebugEnabled())
(if you don't the debug statement
I don't use logkit. I use log4j
Thanks
-Original Message-
From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 1:52 PM
To: users@cocoon.apache.org
Subject: RE: flow not logging
probably in your logkit.xconf:
Add to targets
!-- The logger for the flow layer
: Wednesday, May 03, 2006 1:52 PM
To: users@cocoon.apache.org
Subject: RE: flow not logging
probably in your logkit.xconf:
Add to targets
!-- The logger for the flow layer --
cocoon id=flow
filename${context-root}/WEB-INF/logs/flow.log/filename
format type=cocoon
you debug level of flow not set to
the proper level
AS
I don't use logkit. I use log4j
Thanks
-Original Message-
From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 1:52 PM
To: users@cocoon.apache.org
Subject: RE: flow not logging
probably in your