cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: Could not set up Cocoon Logger
Date Thu, 10 Jun 2004 07:23:28 GMT
Hi:

Compare your /WEB-INF/logkit.xconf with the relased one and check if you
are not missing something like that:

<category log-level="INFO" name="">
  <log-target id-ref="core"/>
  <log-target id-ref="error"/>
</category>

Best Regards,

Antonio Gallardo.

Ralph Goers dijo:
> You know, I really wanted to debug this for you, but once again I am
> foiled
> by Excalibur.  It turns out the source archives of excalibur-logger-1.2.2
> (the version used by Cocoon 2.1.5) have no java source in them.
>
> Ralph
>
> At 6/9/2004  06:15 PM, you wrote:
>>Ever since upgrading to Cocoon 2.1.5 I have been getting this error in my
>>Tomcat logs.
>>
>>Logging Error: Could not set up Cocoon Logger, will use screen instead
>>java.lang.NullPointerException: logTargets[ 0 ]
>>    at org.apache.log.Logger.setLogTargets(Logger.java:435)
>>    at
>> org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLoggerManager.java:517)
>>    at
>> org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLoggerManager.java:407)
>>    at
>> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
>>    at
>> org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:824)
>>    at
>> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
>>
>>    etc, etc,
>>
>>This is using Tomcat 5.
>>
>>I have seen from searches that this has been an error in Excalibur Logger
>>in previous releases.
>>
>>Any suggestions?
>>
>>Joe
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message