Package wt.logs

Class LogsDirViewer

All Implemented Interfaces:
DynamicMBean, MBeanRegistration, BaseObjectNamed, AbstractFileViewMBean, DirViewMBean, ManagedDirViewMBean, SelfEmailingMBean
Direct Known Subclasses:
EnigmaLogsDirViewer, JBossServerLogsDirViewer, PsiInstallerDirViewer, SciInstallerDirViewer, ServletLogsDirViewer, WebServerLogsDirViewer

public class LogsDirViewer extends ManagedDirView
Extension of ManagedDirView that provides a view of log files in a directory specified by a given wt or system properties entry.

Supported API: true

Extendable: false
  • Constructor Details

    • LogsDirViewer

      public LogsDirViewer(String propertyName) throws NotCompliantMBeanException
      Constructor which allows specification of a log directory via a property name. Files without expected log file extensions are automatically filtered out.

      Supported API: true
      Parameters:
      propertyName - Name of wt or system property specifying log directory
      Throws:
      NotCompliantMBeanException
    • LogsDirViewer

      protected LogsDirViewer(String propertyName, String[] fileExtensions) throws NotCompliantMBeanException
      Constructor which allows specification of a log directory via a property name and allows a list of file extensions to be shown to be passed.

      Supported API: true
      Parameters:
      propertyName - Name of wt or system property specifying log directory
      fileExtensions - File extensions not to filter out; if null, then no files are filtered out
      Throws:
      NotCompliantMBeanException