hdlr = SysLogHandler(address='/dev/log', facility=SysLogHandler.LOG_USER)
logger.addHandler(hdlr)
formatter = logging.Formatter('%(name)s: %(levelname)s %(message)s')
hdlr.setFormatter(formatter)
logger.setLevel(logging.INFO)
logger.info('hello Laverne!')
logger.debug('The Great Ragu has taken ill!')
Ведение журнала из Django под UWSGI