1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {
- "aws_key": "EXAMPLE_KEY",
- "aws_secret": "EXAMPLE_SECRET",
- "bucket": "flx-videobooth",
- "bucket-path": "videos/",
- "region": "us-west-2",
- "watch-extension": "json",
- "s3-acl": "private",
- "monitoring-delay": 5,
- "metadata": {
- "email":"userEmail",
- "message":"userMessage",
- "nickname":"userNickName"
- },
- "log-config": {
- "version": 1,
- "root": {
- "level": "DEBUG",
- "handlers": [
- "console",
- "file_all",
- "file_error"
- ]
- },
- "formatters": {
- "simple": {
- "format": "%(asctime)s %(name)-12s %(levelname)-8s %(message)s"
- }
- },
- "handlers": {
- "console": {
- "formatter": "simple",
- "class": "logging.StreamHandler",
- "stream": "ext://sys.stdout",
- "level": "DEBUG"
- },
- "file_all": {
- "backupCount": 7,
- "level": "DEBUG",
- "interval": 1,
- "when": "d",
- "filename": "logs/app_all.log",
- "encoding": "utf8",
- "formatter": "simple",
- "class": "logging.handlers.TimedRotatingFileHandler"
- },
- "file_error": {
- "backupCount": 7,
- "level": "ERROR",
- "interval": 1,
- "when": "d",
- "filename": "logs/app_error.log",
- "encoding": "utf8",
- "formatter": "simple",
- "class": "logging.handlers.TimedRotatingFileHandler"
- }
- }
- }
- }
|