Prev Next

Java / log4j

Explain immediateFlush property of FileAppender.

ImmediateFlush property enables the output stream to the file being flushed with each append operation.

By default the property is set to true.

To switch off immediateFlush use the below configuration. When set to false, it may improve performance.

log4j.appender.FILE.ImmediateFlush=false

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Annotations

Comments & Discussions