config.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "aws_key": "EXAMPLE_KEY",
  3. "aws_secret": "EXAMPLE_SECRET",
  4. "bucket": "flx-videobooth",
  5. "bucket-path": "videos/",
  6. "region": "us-west-2",
  7. "watch-extension": "json",
  8. "s3-acl": "private",
  9. "monitoring-delay": 5,
  10. "metadata": {
  11. "email":"userEmail",
  12. "message":"userMessage",
  13. "nickname":"userNickName"
  14. },
  15. "log-config": {
  16. "version": 1,
  17. "root": {
  18. "level": "DEBUG",
  19. "handlers": [
  20. "console",
  21. "file_all",
  22. "file_error"
  23. ]
  24. },
  25. "formatters": {
  26. "simple": {
  27. "format": "%(asctime)s %(name)-12s %(levelname)-8s %(message)s"
  28. }
  29. },
  30. "handlers": {
  31. "console": {
  32. "formatter": "simple",
  33. "class": "logging.StreamHandler",
  34. "stream": "ext://sys.stdout",
  35. "level": "DEBUG"
  36. },
  37. "file_all": {
  38. "backupCount": 7,
  39. "level": "DEBUG",
  40. "interval": 1,
  41. "when": "d",
  42. "filename": "logs/app_all.log",
  43. "encoding": "utf8",
  44. "formatter": "simple",
  45. "class": "logging.handlers.TimedRotatingFileHandler"
  46. },
  47. "file_error": {
  48. "backupCount": 7,
  49. "level": "ERROR",
  50. "interval": 1,
  51. "when": "d",
  52. "filename": "logs/app_error.log",
  53. "encoding": "utf8",
  54. "formatter": "simple",
  55. "class": "logging.handlers.TimedRotatingFileHandler"
  56. }
  57. }
  58. }
  59. }