diff options
author | Akshen | 2017-10-07 18:27:21 +0530 |
---|---|---|
committer | Akshen | 2017-10-07 18:27:21 +0530 |
commit | f2f781686732ef7fd08c304fc83a202536b1ba1c (patch) | |
tree | ded6a0791044577158926ccae4eb09e6f8d24565 /workshop_app/logs | |
parent | 59d5f503b11ecaa4b6d85b9f1f46bd9334bbfc7c (diff) | |
download | workshop_booking-f2f781686732ef7fd08c304fc83a202536b1ba1c.tar.gz workshop_booking-f2f781686732ef7fd08c304fc83a202536b1ba1c.tar.bz2 workshop_booking-f2f781686732ef7fd08c304fc83a202536b1ba1c.zip |
Adds Share Details and Logging
- Coordinator can share details page with others
- Logging feature added for emails
Diffstat (limited to 'workshop_app/logs')
-rwxr-xr-x | workshop_app/logs/emailconfig.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/workshop_app/logs/emailconfig.yaml b/workshop_app/logs/emailconfig.yaml new file mode 100755 index 0000000..ab0fa3f --- /dev/null +++ b/workshop_app/logs/emailconfig.yaml @@ -0,0 +1,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: path/to/emailfile.log + +root: + level: INFO + handlers: + - emaillogfile |