How could I output resin logs both to "stdout:" and a file "c:/resin.log"?
I've tried

 <log name="" level="info" path="c:/resin.log,stdout:"
      timestamp="[%H:%M:%S.%s] {%{thread}} "/>
 <log name="" level="info" path="stdout:,c:/resin.log"
      timestamp="[%H:%M:%S.%s] {%{thread}} "/>

and no miracle happens.

----- Original Message ----- 
From: "Sam" <[EMAIL PROTECTED]>
To: "General Discussion for the Resin application server" 
<resin-interest@caucho.com>
Sent: Saturday, April 12, 2008 1:48 AM
Subject: Re: [Resin-interest] re write for resin newbie


>> Date: Thu, Apr 10, 2008 at 02:13:09PM -0700
>> Subject: Re: [Resin-interest] re  write for resin newbie
>>
>> Thanks.
>>
>> I am using resin 3.1.2.  I could not locate a resin.xml file when I
>> searched.  I could not find any reference on how to 'turn on fine 
>> logging'
>> as yet for this version of Resin.  Am I missing something?
>>
>> I presume that I must create a web.xml file for each virtual server, in 
>> the
>> WEB-INF directory.
>
> RESIN_HOME/conf/resin.conf
>  The main configuration file for the Resin server.  The file extension is
>  "conf" not "xml", but the syntax of the file is xml.
>
> mywebapp/WEB-INF/web.xml  (optional)
>  The servlet standard configuration for the web application.
>
> mywebapp/WEB-INF/resin-web.xml  (optional)
>  Resin specific configuration for the web application.
>  This file can also contain anything that is usually put in web.xml.
>  The namespace is http://caucho.com/ns/resin
>
> For this particular case, it probably fits best to put the
> configuration in WEB-INF/resin-web.xml
>
> <web-app xmlns="http://caucho.com/ns/resin";>
>
>  <rewrite-dispatch>
>    <forward regexp="^/dmcontent/(\d+)"
>             target="/displaycontent.jsp?frmContentId=$1"/>
>  </rewrite-dispatch>
>
> </web-app>
>
> To turn on fine logging look in RESIN_HOME/conf/resin.conf for lines
> like this:
>
>  <!--
>     - 'info' for production
>     - 'fine' or 'finer' for development and troubleshooting
>    -->
>  <logger name="com.caucho" level="info"/>
>
> Change from "info" to "fine":
>
>  <logger name="com.caucho" level="fine"/>
>
> In 3.1.5, you also need to change this line:
>
> <log name="" level="info" path="stdout:"
>      timestamp="[%H:%M:%S.%s] {%{thread}} "/>
>
> To this:
>
> <log name="" level="fine" path="stdout:"
>      timestamp="[%H:%M:%S.%s] {%{thread}} "/>
>
> -- Sam
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to