1.

How Will You Configure Immediate Flush To True Using Log4j.properties?

Answer»

Following CODE configures IMMEDIATE FLUSH to true −

# Set the immediate flush to true (default)
log4j.appender.FILE.ImmediateFlush=true

Following code configures immediate flush to true −

# Set the immediate flush to true (default)
log4j.appender.FILE.ImmediateFlush=true



Discussion

No Comment Found