Also, documentation mentions DefaultShutdownHook but at least Logback 1.2.3 does not have such a class. DelayingShutdownHook is there, though.