Class CarbonLogFilter
java.lang.Object
org.wso2.carbon.bootstrap.logging.filters.CarbonLogFilter
- All Implemented Interfaces:
Filter
Used for publishing logs using Java Util Logging in non-OSGi mode.
This publishes patch information and the last two logs printed after OSGi environment is shutdown
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoggable(LogRecord logRecord) Filters out the logs printed before OSGi is started and after OSGi is stopped.
-
Constructor Details
-
CarbonLogFilter
public CarbonLogFilter()
-
-
Method Details
-
isLoggable
Filters out the logs printed before OSGi is started and after OSGi is stopped.- Specified by:
isLoggablein interfaceFilter- Parameters:
logRecord- the logRecord object- Returns:
- boolean true/false
-