[loggers] keys=root [handlers] keys=console_handler, file_handler, email_handler [formatters] keys=console_fmt, file_fmt, email_fmt [logger_root] level=NOTSET handlers=console_handler, file_handler, email_handler qualname=review [handler_file_handler] class=FileHandler level=INFO formatter=file_fmt args=( 'review.log', ) [handler_console_handler] class=StreamHandler level=WARNING formatter=console_fmt args=() [handler_email_handler] class=handlers.SMTPHandler level=ERROR formatter=email_fmt args=('zimbra.perforce.co.uk', 'sknop@perforce.com', ['sknop@perforce.com' ], 'Review Daemon Error') [formatter_file_fmt] class=logging.Formatter format=%(asctime)s %(levelname)s: %(message)s datefmt=%Y/%m/%d %H:%M:%S [formatter_console_fmt] class=logging.Formatter format=%(asctime)s %(name)s %(levelname)s: %(message)s datefmt=%Y/%m/%d %H:%M:%S [formatter_email_fmt] class=logging.Formatter format=%(asctime)s %(levelname)s: %(message)s datefmt=%Y/%m/%d %H:%M:%S
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8176 | Sven Erik Knop |
Basic framework for P4Review using P4Python and Python 3 Called P4PyReview, it is designed to replace the existing review daemon for those customers who want to extend the existing review daemon or who want to keep the configuration file separate from the actual code. It can't do much at the moment except for initiating the logging facility, connect to the Perforce Server and log the review user in, but from here on it should be smooth sailing :-) |