The source code for shibe.online. https://shibe.online/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

log4rs.yaml 753B

12345678910111213141516171819202122232425262728293031323334
  1. # Scan this file for changes every 30 seconds
  2. refresh_rate: 30 seconds
  3. appenders:
  4. # An appender named "stdout" that writes to stdout
  5. stdout:
  6. kind: console
  7. # An appender named "requests" that writes to a file with a custom pattern encoder
  8. requests:
  9. kind: file
  10. path: "log/requests.log"
  11. encoder:
  12. pattern: "{d} - {m}{n}"
  13. # Set the default logging level to "warn" and attach the "stdout" appender to the root
  14. root:
  15. level: info
  16. appenders:
  17. - stdout
  18. loggers:
  19. # Raise the maximum log level for events sent to the "app::backend::db" logger to "info"
  20. app::backend::db:
  21. level: info
  22. actix_web::middleware::logger:
  23. level: info
  24. appenders:
  25. - requests
  26. additive: false
  27. shibeapp:
  28. level: debug