add ShutdownHook, Logger, Send logger