Class PayaraNotificationFileHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- java.util.logging.StreamHandler
-
- com.sun.enterprise.server.logging.GFFileHandler
-
- fish.payara.enterprise.server.logging.PayaraNotificationFileHandler
-
- All Implemented Interfaces:
LogEventBroadcaster
,LoggingRuntime
,org.glassfish.hk2.api.PostConstruct
,org.glassfish.hk2.api.PreDestroy
public class PayaraNotificationFileHandler extends GFFileHandler
Service class that is created and initialised by @{code fish.payara.nucleus.notification.log.LogNotifier} The lifecycle of the bean is not managed by HK2 in order to prevent notification.log file creation upon domain start.- Author:
- mertcaliskan
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.server.logging.GFFileHandler
DISABLE_LOG_FILE_ROTATION_VALUE, env, logFileProperty, LOGS_DIR, MINIMUM_ROTATION_LIMIT_VALUE
-
-
Constructor Summary
Constructors Constructor Description PayaraNotificationFileHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
evaluateFileName()
-
Methods inherited from class com.sun.enterprise.server.logging.GFFileHandler
addLogEventListener, cleanUpHistoryLogFiles, getCurrentLogFile, getLogFileName, informLogEventListeners, log, postConstruct, preDestroy, publish, removeLogEventListener, rotate, setCompressionOnRotation, setExcludeFields, setFileHandlerFormatter, setFlushFrequency, setLogFile, setLogStandardStreams, setLogToFile, setMaxHistoryFiles, setMultiLineMode, setRotationLimitAttrValue, setRotationOnDateChange, setRotationTimeLimitValue
-
Methods inherited from class java.util.logging.StreamHandler
close, flush, isLoggable, setEncoding, setOutputStream
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
evaluateFileName
protected String evaluateFileName()
- Overrides:
evaluateFileName
in classGFFileHandler
-
-