diff --git a/daemonize.py b/daemonize.py index 92759b6..81407b8 100644 --- a/daemonize.py +++ b/daemonize.py @@ -60,14 +60,14 @@ def sigterm(self, signum, frame): """ These actions will be done after SIGTERM. """ - self.logger.warn("Caught signal %s. Stopping daemon." % signum) + self.logger.info("Caught signal %s. Stopping daemon." % signum) sys.exit(0) def exit(self): """ Cleanup pid file at exit. """ - self.logger.warn("Stopping daemon.") + self.logger.info("Stopping daemon.") os.remove(self.pid) sys.exit(0) @@ -239,7 +239,7 @@ def start(self): signal.signal(signal.SIGTERM, self.sigterm) atexit.register(self.exit) - self.logger.warn("Starting daemon.") + self.logger.info("Starting daemon.") try: self.action(*privileged_action_result)