Rui Alberto wrote:
> Hi all,
> I'd like to configure a log target in logkit.xconf to rotate files
> everyday.
> Once a new day starts, logs are written into a new file.
>
> Is that possible using logkit?
>
something like:
> <cocoon id="main">
> <filename>${context-root}/WEB-INF/logs/cocoon</filename>
> <format type="cocoon">%5.5{priority} %{time} [%{category}]
> (%{uri}%{query}) %{thread}/%{class:short}:
> %{message}\n%{rootThrowable}</format>
> <append>true</append>
> <rotation type="unique" pattern="-yyyyMMdd" suffix=".log">
> <or>
> <size>100m</size>
> <time>24:00:00</time>
> </or>
> </rotation>
> </cocoon>
--
Leszek Gawron CTO at MobileBox Ltd.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]