Class SyslogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.sun.enterprise.server.logging.SyslogHandler
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct,org.glassfish.hk2.api.PreDestroy
@Service @Singleton @ContractsProvided({SyslogHandler.class,java.util.logging.Handler.class}) public class SyslogHandler extends Handler implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroyCreated by IntelliJ IDEA. User: cmott Date: Mar 11, 2009 Time: 1:41:30 PM To change this template use File | Settings | File Templates.
-
-
Constructor Summary
Constructors Constructor Description SyslogHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidlog()Retrieves the LogRecord from our Queue and store them in the filevoidpostConstruct()voidpreDestroy()voidpublish(LogRecord record)Publishes the logrecord storing it in our queuevoidsetSystemLogging(boolean systemLogging)-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroyin interfaceorg.glassfish.hk2.api.PreDestroy
-
log
public void log()
Retrieves the LogRecord from our Queue and store them in the file
-
publish
public void publish(LogRecord record)
Publishes the logrecord storing it in our queue
-
setSystemLogging
public void setSystemLogging(boolean systemLogging)
-
-