Hello Cocoon maniatics ;P
 
It knows in the log files can manipulate his format for to save just it's necessary.
 
I try to change the format in logkit.xconf but how a xml file. For example, the format for access .log file i put:
 
    <cocoon id="access">
      <filename>${context-root}/WEB-INF/logs/access.log</filename>
      <format type="cocoon">
        <type>%7.7</type><priority>{priority}</priority> <date>%{time}</date>   <categoria>[%{category}]</categoria>; <uri>(%{uri})</uri><thread> %{thread}/%{class:short}:</thread> <message>%{message}\n%{throwable}</message>
      </format>
      <append>false</append>
    </cocoon>
 
It isn't the labels <type>, <priority>, <date>, etc in my access .log.
 
I restart Tomcat but nothing. I try too &lt;type&gt;, etc but nothing too. :(
 
Some idea.
 
Best regards

Reply via email to