Class CarbonLogFilter

java.lang.Object
org.wso2.carbon.bootstrap.logging.filters.CarbonLogFilter
All Implemented Interfaces:
Filter

public class CarbonLogFilter extends Object implements 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 Details

    • CarbonLogFilter

      public CarbonLogFilter()
  • Method Details

    • isLoggable

      public boolean isLoggable(LogRecord logRecord)
      Filters out the logs printed before OSGi is started and after OSGi is stopped.
      Specified by:
      isLoggable in interface Filter
      Parameters:
      logRecord - the logRecord object
      Returns:
      boolean true/false