From userbenjamin26@example.org Thu Jan 12 23:11:12 2006
Return-Path: <userbenjamin26@example.org>
Delivered-To: benjamin26@example.org
Received: (qmail 28211 invoked from network); 12 Jan 2006 23:11:12 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 12 Jan 2006 23:11:12 -0000
Received: (qmail 1410 invoked by uid 500); 12 Jan 2006 23:11:11 -0000
Delivered-To: benjamin26@example.org
Received: (qmail 1375 invoked by uid 500); 12 Jan 2006 23:11:10 -0000
Mailing-List: contact benjamin26@example.org; run by ezmlm
Precedence: bulk
list-help: <mailto:benjamin26@example.org>
list-unsubscribe: <mailto:benjamin26@example.org>
List-Post: <mailto:benjamin26@example.org>
List-Id: "Excalibur Users List" <user.excalibur.apache.org>
Reply-To: "Excalibur Users List" <benjamin26@example.org>
Delivered-To: mailing list benjamin26@example.org
Received: (qmail 1364 invoked by uid 99); 12 Jan 2006 23:11:10 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 15:11:10 -0800
X-ASF-Spam-Status: No, hits=0.6 required=10.0
	tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,X_PRIORITY_HIGH
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO smtp110.plus.mail.re2.yahoo.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with SMTP; Thu, 12 Jan 2006 15:11:09 -0800
Received: (qmail 71422 invoked from network); 12 Jan 2006 23:10:48 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=Received:Reply-To:From:To:Subject:Date:Organization:Message-ID:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:Importance:Thread-Index:Disposition-Notification-To;
  b=HAzmy0wy3cJFZhFCmWIchFw6wyTpBAyurgWQOswkXwOgqLtWG2j4/vhk0by6f6KsT1kQ3MwHCsdNxlHpVtC4h/Dz2fIMLWaLOQPE1fWCKBFQ/Ya3AghOxILqJVc34oKM10E595YHZOG7DEnPj0O2g8msGkx65QTxvSiHfBTngRA=  ;
Received: from unknown (HELO mike) (benjamin26@example.org with login)
  by smtp110.plus.mail.re2.yahoo.com with SMTP; 12 Jan 2006 23:10:47 -0000
Reply-To: <benjamin26@example.org>
From: "Mike Dickson" <benjamin26@example.org>
To: <benjamin26@example.org>
Subject: No log targets configured for the root logger
Date: Thu, 12 Jan 2006 15:07:39 -0800
Organization: DayScribe
Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAIyJKFfbenjamin26@example.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00AC_01C61789.EEDB84C0"
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Importance: High
Thread-Index: AcYXy0tWTIKj52T/R5+bU7wFuxRkfgAAaI4g
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

------=_NextPart_000_00AC_01C61789.EEDB84C0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Any ideas on what is up given the following error and logkit.xconf?  

 

Error:

 

org.apache.avalon.framework.configuration.ConfigurationException: No log
targets configured for the root logger.
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLo
ggerManager.java:531)
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLogge
rManager.java:407)
    at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:240)
    at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826)
    at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:88
8)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3363)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
74)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)
    at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:260)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:741)
    at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:512
)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:354)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

 

 

logkit.xconf

 

<?xml version="1.0"?>

<logkit>
  <factories>
    <factory type="priority-filter"
class="org.apache.avalon.excalibur.logger.factory.PriorityFilterTargetFactor
y"/>
    <factory type="servlet"
class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/>
    <factory type="cocoon"
class="org.apache.cocoon.util.log.CocoonTargetFactory"/>
    <factory type="lf5"
class="org.apache.avalon.excalibur.logger.factory.LF5TargetFactory"/>
  </factories>

  <targets>

    <!-- To enable the LogFactor5 graphical logkit browser, replace the
cocoon factory 
         below with the following.
    <lf5 id="core"/>
    -->

    <cocoon id="core">
      <filename>${context-root}/WEB-INF/logs/core.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <!--
        append=false: Will override existing log files on Cocoon startup
        append=true: Will append to the existing log files
      -->
      <append>false</append>
      <!--
        rotation: allows you to rotate log files one they meet certain
                  criteria. In example below, files are rotated once they
                  are one hour old or bigger than 100 Mb.

      <rotation type="revolving" init="1" max="4">
        <or>
          <size>100m</size>
          <time>01:00:00</time>
        </or>
      </rotation>
      -->
    </cocoon>

    <cocoon id="sitemap">
      <filename>${context-root}/WEB-INF/logs/sitemap.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <cocoon id="handled-errors">
      <filename>${context-root}/WEB-INF/logs/handled-errors.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <cocoon id="access">
      <filename>${context-root}/WEB-INF/logs/access.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <!-- The logger for the flow layer -->
    <cocoon id="flow">
      <filename>${context-root}/WEB-INF/logs/flow.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <!--
      This log file gets only messages with log level ERROR and below.
    -->
    <priority-filter id="error" log-level="ERROR">
      <cocoon>
        <filename>${context-root}/WEB-INF/logs/error.log</filename>
        <format type="cocoon">
          %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
        </format>
        <append>false</append>
      </cocoon>
    </priority-filter>
  </targets>

  <categories>
    <!--
      log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR.
      Log level could be different for every category and subcategory.

      Not all subcategories are defined in this file. Not defined
      subcategories will be created automatically inheriting settings
      of the parent subcategory.
      When defining subcategory manually, it is required to specify log
      targets, because they are not inherited in this case.
    -->
    <category name="core" log-level="INFO">
      <!-- Startup component manager logger -->
      <category name="startup" log-level="INFO">
        <log-target id-ref="core"/>
        <log-target id-ref="error"/>
      </category>

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

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

      <!-- Cocoon component manager logger -->
      <category name="manager" log-level="INFO">
        <log-target id-ref="core"/>
        <log-target id-ref="error"/>
      </category>

      <!-- Cocoon cache and stores logger -->
      <category name="store" log-level="INFO">
        <category name="janitor" log-level="INFO">
          <log-target id-ref="core"/>
          <log-target id-ref="error"/>
        </category>
        <log-target id-ref="core"/>
        <log-target id-ref="error"/>
      </category>

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

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

      <category name="handled-errors" log-level="INFO">
        <!-- Exceptions that will be handled by a sitemap errorhandler are
             logged to this target. -->
        <log-target id-ref="handled-errors"/>
      </category>
    </category>

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

    <category name="flow" log-level="INFO">
      <log-target id-ref="flow"/>
      <log-target id-ref="error"/>
    </category>
  </categories>
</logkit>


------=_NextPart_000_00AC_01C61789.EEDB84C0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>Any ideas on what is up given the following error =
and
logkit.xconf?&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>Error:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>org.apache.avalon.framework.configuration.Configur=
ationException:
No log targets configured for the root logger.<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKi=
tLoggerManager.java:531)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLo=
ggerManager.java:407)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUt=
il.java:240)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826=
)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
:888)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)<b=
r>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.ja=
va:3363)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)=
<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav=
a:774)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)<b=
r>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)<br>=

&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploye=
r.java:260)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHost.install(StandardHost.java:741)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:=
512)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:354)<br=
>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311=
)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup=
port.java:119)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)<br>=

&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHost.start(StandardHost.java:707)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)<br>=

&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)<br=
>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardService.start(StandardService.java:450)<=
br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)<b=
r>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Catalina.start(Catalina.java:463)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Catalina.execute(Catalina.java:350)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Catalina.process(Catalina.java:129)<br>
&nbsp;&nbsp; &nbsp;at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)<br>
&nbsp;&nbsp; &nbsp;at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)<br>
&nbsp;&nbsp; &nbsp;at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)<br>
&nbsp;&nbsp; &nbsp;at =
java.lang.reflect.Method.invoke(Method.java:324)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>logkit.xconf<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>&lt;?xml version=3D&quot;1.0&quot;?&gt;<br>
<br>
&lt;logkit&gt;<br>
&nbsp; &lt;factories&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;priority-filter&quot; =
class=3D&quot;org.apache.avalon.excalibur.logger.factory.PriorityFilterTa=
rgetFactory&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;servlet&quot;
class=3D&quot;org.apache.avalon.excalibur.logger.factory.ServletTargetFac=
tory&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;cocoon&quot;
class=3D&quot;org.apache.cocoon.util.log.CocoonTargetFactory&quot;/&gt;<b=
r>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;lf5&quot;
class=3D&quot;org.apache.avalon.excalibur.logger.factory.LF5TargetFactory=
&quot;/&gt;<br>
&nbsp; &lt;/factories&gt;<br>
<br>
&nbsp; &lt;targets&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!-- To enable the LogFactor5 graphical logkit =
browser,
replace the cocoon factory <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; below with the =
following.<br>
&nbsp;&nbsp;&nbsp; &lt;lf5 id=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;core&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/core.log&lt;/filename&gt;<br=
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append=3Dfalse: Will override =
existing
log files on Cocoon startup<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append=3Dtrue: Will append to =
the
existing log files<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rotation: allows you to =
rotate log
files one they meet certain<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
criteria. In example below, files are rotated once they<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
are one hour old or bigger than 100 Mb.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rotation type=3D&quot;revolving&quot;
init=3D&quot;1&quot; max=3D&quot;4&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;or&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;size&gt;100m&lt;/size&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;time&gt;01:00:00&lt;/time&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/or&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/rotation&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;sitemap&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/sitemap.log&lt;/filename&gt;=
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;handled-errors&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/handled-errors.log&lt;/filen=
ame&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;access&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/access.log&lt;/filename&gt;<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!-- The logger for the flow layer --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;flow&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/flow.log&lt;/filename&gt;<br=
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This log file gets only messages with log =
level
ERROR and below.<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;priority-filter id=3D&quot;error&quot;
log-level=3D&quot;ERROR&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;cocoon&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/error.log&lt;/filename&gt;<b=
r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority}
%{time}&nbsp;&nbsp; [%{category}] (%{uri}) %{thread}/%{class:short}:
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/priority-filter&gt;<br>
&nbsp; &lt;/targets&gt;<br>
<br>
&nbsp; &lt;categories&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log-level: One of DEBUG, INFO, WARN, =
ERROR,
FATAL_ERROR.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Log level could be different for every =
category
and subcategory.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Not all subcategories are defined in this =
file.
Not defined<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subcategories will be created =
automatically
inheriting settings<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of the parent subcategory.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When defining subcategory manually, it is
required to specify log<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; targets, because they are not inherited =
in this
case.<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;core&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Startup component manager logger =
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;startup&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;roles&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category =
name=3D&quot;instrument&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category =
name=3D&quot;values&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Cocoon component manager logger =
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;manager&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Cocoon cache and stores logger =
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;store&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category
name=3D&quot;janitor&quot; log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;sitemap&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;sitemap&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category =
name=3D&quot;handled-errors&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Exceptions that will =
be
handled by a sitemap errorhandler are<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
logged
to this target. --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;handled-errors&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;access&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;access&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;flow&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;flow&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp; &lt;/categories&gt;<br>
&lt;/logkit&gt;</span></font><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_00AC_01C61789.EEDB84C0--


From userbenjamin26@example.org Sat Jan 14 19:14:49 2006
Return-Path: <userbenjamin26@example.org>
Delivered-To: benjamin26@example.org
Received: (qmail 95756 invoked from network); 14 Jan 2006 19:14:49 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 14 Jan 2006 19:14:49 -0000
Received: (qmail 15057 invoked by uid 500); 14 Jan 2006 19:14:48 -0000
Delivered-To: benjamin26@example.org
Received: (qmail 14908 invoked by uid 500); 14 Jan 2006 19:14:47 -0000
Mailing-List: contact benjamin26@example.org; run by ezmlm
Precedence: bulk
list-help: <mailto:benjamin26@example.org>
list-unsubscribe: <mailto:benjamin26@example.org>
List-Post: <mailto:benjamin26@example.org>
List-Id: "Excalibur Users List" <user.excalibur.apache.org>
Reply-To: "Excalibur Users List" <benjamin26@example.org>
Delivered-To: mailing list benjamin26@example.org
Received: (qmail 14897 invoked by uid 99); 14 Jan 2006 19:14:46 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jan 2006 11:14:46 -0800
X-ASF-Spam-Status: No, hits=0.5 required=10.0
	tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO smtp103.plus.mail.re2.yahoo.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with SMTP; Sat, 14 Jan 2006 11:14:45 -0800
Received: (qmail 16801 invoked from network); 14 Jan 2006 19:14:24 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=Received:Reply-To:From:To:Subject:Date:Organization:Message-ID:MIME-Version:Content-Type:X-Mailer:X-MimeOLE:Thread-Index;
  b=J/svGtyvMMP1x8PT/zH3M9KNX490rph5C0IWMkLlrtNkaE/ERjHqGHgqoxi7buhVPY0M5Io8N7Y18hZOV1JDAAKTyfs4GGhwuuBjm2Ab8ANUjsNJPBanN60xy0uzg6Y0ID8qPqt70lgOCQJ4o6+WCJMehsDwWUatMYTrnjtwoXg=  ;
Received: from unknown (HELO mike) (benjamin26@example.org with login)
  by smtp103.plus.mail.re2.yahoo.com with SMTP; 14 Jan 2006 19:14:22 -0000
Reply-To: <benjamin26@example.org>
From: "Mike Dickson" <benjamin26@example.org>
To: <benjamin26@example.org>
Subject: No log targets configured for the root logger
Date: Sat, 14 Jan 2006 11:11:13 -0800
Organization: DayScribe
Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAIyJKFfbenjamin26@example.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0024_01C618FB.3C4C2940"
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Thread-Index: AcYXy0tWTIKj52T/R5+bU7wFuxRkfgBV5fwgAAbMvsA=
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

------=_NextPart_000_0024_01C618FB.3C4C2940
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

 

Any ideas on what is up given the following error and logkit.xconf?  

 

Error:

 

org.apache.avalon.framework.configuration.ConfigurationException: No log
targets configured for the root logger.
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLo
ggerManager.java:531)
    at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLogge
rManager.java:407)
    at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:240)
    at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826)
    at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:88
8)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3363)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
74)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)
    at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:260)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:741)
    at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:512
)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:354)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

 

 

logkit.xconf

 

<?xml version="1.0"?>

<logkit>
  <factories>
    <factory type="priority-filter"
class="org.apache.avalon.excalibur.logger.factory.PriorityFilterTargetFactor
y"/>
    <factory type="servlet"
class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/>
    <factory type="cocoon"
class="org.apache.cocoon.util.log.CocoonTargetFactory"/>
    <factory type="lf5"
class="org.apache.avalon.excalibur.logger.factory.LF5TargetFactory"/>
  </factories>

  <targets>

    <!-- To enable the LogFactor5 graphical logkit browser, replace the
cocoon factory 
         below with the following.
    <lf5 id="core"/>
    -->

    <cocoon id="core">
      <filename>${context-root}/WEB-INF/logs/core.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <!--
        append=false: Will override existing log files on Cocoon startup
        append=true: Will append to the existing log files
      -->
      <append>false</append>
      <!--
        rotation: allows you to rotate log files one they meet certain
                  criteria. In example below, files are rotated once they
                  are one hour old or bigger than 100 Mb.

      <rotation type="revolving" init="1" max="4">
        <or>
          <size>100m</size>
          <time>01:00:00</time>
        </or>
      </rotation>
      -->
    </cocoon>

    <cocoon id="sitemap">
      <filename>${context-root}/WEB-INF/logs/sitemap.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <cocoon id="handled-errors">
      <filename>${context-root}/WEB-INF/logs/handled-errors.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <cocoon id="access">
      <filename>${context-root}/WEB-INF/logs/access.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <!-- The logger for the flow layer -->
    <cocoon id="flow">
      <filename>${context-root}/WEB-INF/logs/flow.log</filename>
      <format type="cocoon">
        %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
      </format>
      <append>false</append>
    </cocoon>

    <!--
      This log file gets only messages with log level ERROR and below.
    -->
    <priority-filter id="error" log-level="ERROR">
      <cocoon>
        <filename>${context-root}/WEB-INF/logs/error.log</filename>
        <format type="cocoon">
          %7.7{priority} %{time}   [%{category}] (%{uri})
%{thread}/%{class:short}: %{message}\n%{throwable}
        </format>
        <append>false</append>
      </cocoon>
    </priority-filter>
  </targets>

  <categories>
    <!--
      log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR.
      Log level could be different for every category and subcategory.

      Not all subcategories are defined in this file. Not defined
      subcategories will be created automatically inheriting settings
      of the parent subcategory.
      When defining subcategory manually, it is required to specify log
      targets, because they are not inherited in this case.
    -->
    <category name="core" log-level="INFO">
      <!-- Startup component manager logger -->
      <category name="startup" log-level="INFO">
        <log-target id-ref="core"/>
        <log-target id-ref="error"/>
      </category>

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

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

      <!-- Cocoon component manager logger -->
      <category name="manager" log-level="INFO">
        <log-target id-ref="core"/>
        <log-target id-ref="error"/>
      </category>

      <!-- Cocoon cache and stores logger -->
      <category name="store" log-level="INFO">
        <category name="janitor" log-level="INFO">
          <log-target id-ref="core"/>
          <log-target id-ref="error"/>
        </category>
        <log-target id-ref="core"/>
        <log-target id-ref="error"/>
      </category>

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

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

      <category name="handled-errors" log-level="INFO">
        <!-- Exceptions that will be handled by a sitemap errorhandler are
             logged to this target. -->
        <log-target id-ref="handled-errors"/>
      </category>
    </category>

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

    <category name="flow" log-level="INFO">
      <log-target id-ref="flow"/>
      <log-target id-ref="error"/>
    </category>
  </categories>
</logkit>


------=_NextPart_000_0024_01C618FB.3C4C2940
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>Any ideas on what is up given the following error =
and
logkit.xconf?&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>Error:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>org.apache.avalon.framework.configuration.Configur=
ationException:
No log targets configured for the root logger.<br>
&nbsp;&nbsp; &nbsp;at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKi=
tLoggerManager.java:531)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLo=
ggerManager.java:407)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUt=
il.java:240)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:826=
)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:311)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
:888)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)<b=
r>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.ja=
va:3363)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)=
<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav=
a:774)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)<b=
r>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)<br>=

&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploye=
r.java:260)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHost.install(StandardHost.java:741)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:=
512)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:354)<br=
>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311=
)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup=
port.java:119)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)<br>=

&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardHost.start(StandardHost.java:707)<br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)<br>=

&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)<br=
>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.core.StandardService.start(StandardService.java:450)<=
br>
&nbsp;&nbsp; &nbsp;at =
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)<b=
r>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Catalina.start(Catalina.java:463)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Catalina.execute(Catalina.java:350)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Catalina.process(Catalina.java:129)<br>
&nbsp;&nbsp; &nbsp;at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)<br>
&nbsp;&nbsp; &nbsp;at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)<br>
&nbsp;&nbsp; &nbsp;at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)<br>
&nbsp;&nbsp; &nbsp;at =
java.lang.reflect.Method.invoke(Method.java:324)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>logkit.xconf<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DHelvetica><span =
style=3D'font-size:10.0pt;
font-family:Helvetica'>&lt;?xml version=3D&quot;1.0&quot;?&gt;<br>
<br>
&lt;logkit&gt;<br>
&nbsp; &lt;factories&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;priority-filter&quot; =
class=3D&quot;org.apache.avalon.excalibur.logger.factory.PriorityFilterTa=
rgetFactory&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;servlet&quot;
class=3D&quot;org.apache.avalon.excalibur.logger.factory.ServletTargetFac=
tory&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;cocoon&quot;
class=3D&quot;org.apache.cocoon.util.log.CocoonTargetFactory&quot;/&gt;<b=
r>
&nbsp;&nbsp;&nbsp; &lt;factory type=3D&quot;lf5&quot;
class=3D&quot;org.apache.avalon.excalibur.logger.factory.LF5TargetFactory=
&quot;/&gt;<br>
&nbsp; &lt;/factories&gt;<br>
<br>
&nbsp; &lt;targets&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!-- To enable the LogFactor5 graphical logkit =
browser,
replace the cocoon factory <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; below with the =
following.<br>
&nbsp;&nbsp;&nbsp; &lt;lf5 id=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;core&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/core.log&lt;/filename&gt;<br=
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append=3Dfalse: Will override =
existing
log files on Cocoon startup<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append=3Dtrue: Will append to =
the
existing log files<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rotation: allows you to =
rotate log
files one they meet certain<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
criteria. In example below, files are rotated once they<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
are one hour old or bigger than 100 Mb.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rotation type=3D&quot;revolving&quot;
init=3D&quot;1&quot; max=3D&quot;4&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;or&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;size&gt;100m&lt;/size&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;time&gt;01:00:00&lt;/time&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/or&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/rotation&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;sitemap&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/sitemap.log&lt;/filename&gt;=
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;handled-errors&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/handled-errors.log&lt;/filen=
ame&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;access&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/access.log&lt;/filename&gt;<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!-- The logger for the flow layer --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;cocoon id=3D&quot;flow&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/flow.log&lt;/filename&gt;<br=
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format =
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority} =
%{time}&nbsp;&nbsp;
[%{category}] (%{uri}) %{thread}/%{class:short}: =
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This log file gets only messages with log =
level
ERROR and below.<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;priority-filter id=3D&quot;error&quot;
log-level=3D&quot;ERROR&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;cocoon&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;filename&gt;${context-root}/WEB-INF/logs/error.log&lt;/filename&gt;<b=
r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format
type=3D&quot;cocoon&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %7.7{priority}
%{time}&nbsp;&nbsp; [%{category}] (%{uri}) %{thread}/%{class:short}:
%{message}\n%{throwable}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/format&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;append&gt;false&lt;/append&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/cocoon&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/priority-filter&gt;<br>
&nbsp; &lt;/targets&gt;<br>
<br>
&nbsp; &lt;categories&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;!--<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log-level: One of DEBUG, INFO, WARN, =
ERROR,
FATAL_ERROR.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Log level could be different for every =
category
and subcategory.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Not all subcategories are defined in this =
file.
Not defined<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subcategories will be created =
automatically
inheriting settings<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of the parent subcategory.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When defining subcategory manually, it is
required to specify log<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; targets, because they are not inherited =
in this
case.<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;core&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Startup component manager logger =
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;startup&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;roles&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category =
name=3D&quot;instrument&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category =
name=3D&quot;values&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Cocoon component manager logger =
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;manager&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Cocoon cache and stores logger =
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;store&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category
name=3D&quot;janitor&quot; log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;core&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;sitemap&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;sitemap&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;category =
name=3D&quot;handled-errors&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Exceptions that will =
be
handled by a sitemap errorhandler are<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
logged
to this target. --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target
id-ref=3D&quot;handled-errors&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;access&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;access&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;category name=3D&quot;flow&quot;
log-level=3D&quot;INFO&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;flow&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;log-target =
id-ref=3D&quot;error&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/category&gt;<br>
&nbsp; &lt;/categories&gt;<br>
&lt;/logkit&gt;</span></font><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0024_01C618FB.3C4C2940--


From userbenjamin26@example.org Mon Jan 16 13:09:17 2006
Return-Path: <userbenjamin26@example.org>
Delivered-To: benjamin26@example.org
Received: (qmail 1855 invoked from network); 16 Jan 2006 13:09:16 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 16 Jan 2006 13:09:16 -0000
Received: (qmail 44177 invoked by uid 500); 16 Jan 2006 13:09:16 -0000
Delivered-To: benjamin26@example.org
Received: (qmail 44078 invoked by uid 500); 16 Jan 2006 13:09:15 -0000
Mailing-List: contact benjamin26@example.org; run by ezmlm
Precedence: bulk
list-help: <mailto:benjamin26@example.org>
list-unsubscribe: <mailto:benjamin26@example.org>
List-Post: <mailto:benjamin26@example.org>
List-Id: "Excalibur Users List" <user.excalibur.apache.org>
Reply-To: "Excalibur Users List" <benjamin26@example.org>
Delivered-To: mailing list benjamin26@example.org
Received: (qmail 44067 invoked by uid 99); 16 Jan 2006 13:09:15 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 05:09:15 -0800
X-ASF-Spam-Status: No, hits=0.0 required=10.0
	tests=
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO ncdc.pl) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 05:09:14 -0800
Received: from thor.ncdc (thor.ncdc [83.161.120.155])
	by ncdc.pl (Postfix) with ESMTP id 0EF93424014
	for <benjamin26@example.org>; Mon, 16 Jan 2006 14:08:51 +0100 (CET)
Subject: Re: No log targets configured for the root logger
From: Kazimierz Pogoda <benjamin26@example.org>
To: benjamin26@example.org
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAIyJKFfbenjamin26@example.org>
References:
	 <!&!AAAAAAAAAAAYAAAAAAAAAIyJKFfbenjamin26@example.org>
Content-Type: text/plain
Organization: Nordic Consulting & Development Company
Date: Mon, 16 Jan 2006 14:08:51 +0100
Message-Id: <benjamin26@example.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
Content-Transfer-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

On Sat, 2006-01-14 at 11:11 -0800, Mike Dickson wrote:

>  
> 
> Any ideas on what is up given the following error and logkit.xconf?  
> 
>  
> 
> Error:
> 
>  
> 
> org.apache.avalon.framework.configuration.ConfigurationException: No
> log targets configured for the root logger.

Try to configure one category with empty logger name. Something like
this:

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

I hope it will help.

-- 
"the spirit can only withdraw into a corner. And yet, it is not at all 
 worn out or superfluous, but, like an (eternal) witness, floats above 
 the rubble of culture - almost like an  avenger of God.  As though it 
 awaited a new incarnation."
                                        -- Ludwig Wittgenstein --
Kazimierz Pogoda
Nordic Consulting & Development Company
mailto:benjamin26@example.org


---------------------------------------------------------------------
To unsubscribe, e-mail: benjamin26@example.org
For additional commands, e-mail: benjamin26@example.org



{'source': 'Apache Software Foundation Public Mail Archives'}