I run a headless and unmanned server which logs everything to a remote server. The application I run there also does this via a SysLogHandler
. It works fine.
I have cases where the program crashes (in places not handled by a try: except:
) and I would like to log that way the traceback as well. Is this at all possible?
I am specifically talking about unexpected tracebacks , I know that I can log exceptions in an except:
clause.