cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elvira Nieto Carretero" <encarret...@sadiel.es>
Subject XML format in log files
Date Mon, 23 Feb 2004 16:10:59 GMT
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
Mime
View raw message