Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.2.3
-
Not relevant
Description
In ch.qos.logback.core.joran.action.ShutdownHookAction classname is mandatory
String className = attributes.getValue(CLASS_ATTRIBUTE); if (OptionHelper.isEmpty(className)) { addError("Missing class name for shutdown hook. Near [" + name + "] line " + getLineNumber(ic)); inError = true; return; }
But on page https://logback.qos.ch/manual/configuration.html
<configuration debug="true"> <!-- in the absence of the class attribute, assume ch.qos.logback.core.hook.DelayingShutdownHook --> <shutdownHook/> .... </configuration>