graceful quit & log level