Package coprs :: Module log
[hide private]
[frames] | no frames]

Module log

source code

Variables [hide private]
  send_logs_to = app.config.get('SEND_LOGS_TO')
  level = app.config.get('LOGGING_LEVEL')
  formatter = logging.Formatter(...
  mail_handler = logging.handlers.SMTPHandler('127.0.0.1', 'copr...
Variables Details [hide private]

formatter

Value:
logging.Formatter('''
Message type:       %(levelname)s
Location:           %(pathname)s:%(lineno)d
Module:             %(module)s
Function:           %(funcName)s
Time:               %(asctime)s

Message:
...

mail_handler

Value:
logging.handlers.SMTPHandler('127.0.0.1', 'copr-fe-error@{0}'.format(a\
pp.config ['SERVER_NAME'] or 'fedorahosted.org'), send_logs_to, 'Yay, \
error in copr frontend occured!')