james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eung-ju Park" <co...@isoft.co.kr>
Subject Re: Nearly ready for release
Date Fri, 28 Sep 2001 01:26:54 GMT
Here is my logs configuration. Finding Giacomo's original description in
bunch of mail is difficult. ;-)

  <logs version="1.1">
    <factories>
      <factory type="block"
      class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
    </factories>

    <categories>
      <category name="objectstorage" log-level="DEBUG">
        <log-target id-ref="objectstorage"/>
      </category>
      <category name="" log-level="DEBUG">
        <log-target id-ref="default"/>
      </category>
    </categories>

    <targets>
      <block id="objectstorage">
        <filename>${app.home}/logs/objectstorage.log</filename>
        <format type="pattern"><![CDATA[ %{time} [%7.7{priority}]
<<%{category}>> (%{context}): %{message}\n%{throwable}]]></format>
        <append>false</append>
      </block>
      <block id="default">
        <filename>${app.home}/logs/overlord.log</filename>
        <append>false</append>
        <format type="pattern"><![CDATA[ %{time} [%7.7{priority}]
<<%{category}>> (%{context}): %{message}\n%{throwable}]]></format>
      </block>
    </targets>
  </logs>

----- Original Message -----
From: "Serge Knystautas" <sergek@lokitech.com>
To: <james-dev@jakarta.apache.org>
Sent: Friday, September 28, 2001 10:07 AM
Subject: Re: Nearly ready for release


> Great Pete!  Thanks for the info...I'll give that 1.1 trick a try.
>
> Serge Knystautas
> Loki Technologies
> http://www.lokitech.com/
> ----- Original Message -----
> From: "Peter Donald" <donaldp@apache.org>
> To: <james-dev@jakarta.apache.org>
> Sent: Thursday, September 27, 2001 8:39 PM
> Subject: Re: Nearly ready for release
>
>
> > On Fri, 28 Sep 2001 07:26, Serge Knystautas wrote:
> > > 4. Log files getting wiped
> > > This seems like a "feature" of the new Avalon, but every time you
start
> > > James, all the log files are wiped.  If anybody knows more about this,
> > > that'd be great, otherwise I'll start digging in shortly.
> >
> > This is a "feature" with the logging system James uses atm. You can
> upgrade
> > to a newer system by placing the version="1.1" attribute in logs element
> like
> >
> > <logs version="1.1">
> > ....
> > </logs>
> >
> > Unfortunately I haven't used the new format so can't describe it.
However
> it
> > was originally proposed by Giacomo on 21st of August and he includes a
> sample
> > config file. The rest of the documentation is in the excalibur project
in
> the
> > javadocs of org.apache.avalon.excalibur.logger.*
> >
> > With that you should be able to log to
files/database/jms/syslog/whatever
> > relatively easy.
> >
> > --
> > Cheers,
> >
> > Pete
> >
> > *-------------------------------------*
> > | Does the name `Pavlov' ring a bell? |
> > *-------------------------------------*
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: james-dev-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message