summaryrefslogtreecommitdiff
path: root/logs/emailconfig.yaml
blob: 4db71f43bc3ed564c563829802f9a1686024d785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: 1
disable_existing_loggers: False

formatters:
  detailed:
    format: '%(asctime)s - %(levelname)s - Function: %(funcName)s() - Line: %(lineno)d -  %(message)s'

handlers:
    emaillogfile:
      level: INFO
      class: logging.handlers.RotatingFileHandler
      maxBytes: 10000000 #10MB
      backupCount: 9
      formatter: detailed
      filename: /home/prashant/django_project/fossee_project/python3.x/scipy2018/SciPy2018/logs/emailfile.log

root:
  level: INFO
  handlers:
    - emaillogfile