I do not see why this should not work. What happens when you try?

Gary

On Fri, May 22, 2015 at 10:38 AM, Emi Lu <[email protected]> wrote:

> Hello,
>
> Is there a way to use RollingFile and SizeBasedTriggeringPolicy for
> HTMLLayout please?
>
> For example:
>
>     <appenders>
>       <RollingFile name="debug_html" fileName="log.html">
>          <HTMLLayout charset="UTF-8" />
>         <Policies>
>            <SizeBasedTriggeringPolicy size="1 KB" />
>         </Policies>
>      </RollingFile>
>    </Appenders>
>
>    <Loggers>
>    <Logger name="test.pkg" level="info" additivity="false">
>       <AppenderRef ref="debug_html" />
>    </Logger>
>    <Root level="error">
>       <AppenderRef ref="Console" />
>    </Root>
>
>    </Loggers>
>
> Thanks a lot!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to