By character set, I actually meant character encoding, e.g. ASCII, UTF-8. RollingFileAppender in log4j counts the number of characters written, but if the underlying encoding is UTF-8 for example, then the number of bytes actually written on disk is not easy to compute, and may be off.

Maverick Crank GRey wrote:

It sounds strange for me. I set triggeringPolicy in MB (megabytes)
===
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
            <MaxFileSize>100MB</MaxFileSize>
        </triggeringPolicy>
===
So what do you mean by 'character sets'? Do characters have really matter in case I set file size in bytes?



--
Ceki Gülcü
QOS.ch is looking to hire talented developers in Switzerland.  If
interested, please contact c e k i @ q o s . c h

_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to