From: Cameron Patrick Date: Sun, 1 Aug 2004 08:15:18 +0000 (+0000) Subject: tweak log priorities X-Git-Tag: IMPORT-FROM-UCCCVS~77 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8bf3b178db0d2a8f3b8dcdfa02b6f8ca80cfad56;p=uccvend-vendserver.git tweak log priorities --- diff --git a/sql-edition/servers/VendServer.py b/sql-edition/servers/VendServer.py index a09ac2a..0f1daec 100755 --- a/sql-edition/servers/VendServer.py +++ b/sql-edition/servers/VendServer.py @@ -531,13 +531,13 @@ if __name__ == '__main__': options, config_opts = set_stuff_up() while True: try: - logging.info('Starting Vend Server') + logging.warning('Starting Vend Server') do_vend_server(options, config_opts) - logging.warning('Vend Server finished unexpectedly, restarting') + logging.error('Vend Server finished unexpectedly, restarting') except KeyboardInterrupt: logging.info("Killed by signal, cleaning up") clean_up_nicely(options, config_opts) - logging.info("Vend Server stopped") + logging.warning("Vend Server stopped") break except: (exc_type, exc_value, exc_traceback) = sys.exc_info()