Adding initial files

This commit is contained in:
2021-12-20 21:06:31 +00:00
committed by root
parent d00ee614d6
commit 3d93bfa7df
7 changed files with 113 additions and 0 deletions

23
Python loggers.yaml Normal file
View File

@ -0,0 +1,23 @@
version: 1
formatters:
dateTimeFormatter:
format: '%(name)s on %(asctime)s: [%(levelname)s] %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
handlers:
system:
class: logging.handlers.SysLogHandler
level: INFO
formatter: dateTimeFormatter
address: /dev/log
email:
class: logging.handlers.SMTPHandler
formatter: dateTimeFormatter
mailhost: localhost
fromaddr: python3@pentilescu.com
toaddrs: ext://EnvironmentVariablesLoader.email
subject: Gandi authentication failure
level: ERROR
loggers:
Certbot-Gandi-Authenticator:
level: INFO
handlers: [system, email]