LogLogQuietMode Property Apache log4net™ SDK Documentation
Gets or sets a value indicating whether log4net should generate no output from internal logging, not even for errors.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 4.0

public static bool QuietMode { get; set; }

Property Value

Type: Boolean
true if log4net should generate no output at all from internal logging, otherwise false.

When set to true will cause internal logging at all levels to be suppressed. This means that no warning or error reports will be logged. This option overrides the InternalDebugging setting and disables all debug also.

This value can be set by setting the application setting log4net.Internal.Quiet in the application configuration file.

The default value is false, i.e. internal logging is not disabled.


The following example disables internal logging using the application configuration file :
<configuration><appSettings><add key="log4net.Internal.Quiet" value="true" /></appSettings></configuration>
See Also