INI 43
Nomlines.ini By cbettis on 9th April 2022 01:04:41 PM
  1. [DATA]
  2. db = C:\development\data\verses.sqlite
  3.  
  4. [loggers]
  5. keys = root, infolog, errorlog
  6.  
  7. [handlers]
  8. keys = console_handler, file_handler_infolog, file_handler_errorlog
  9.  
  10. [formatters]
  11. keys = console_formatter, file_formatter
  12.  
  13. [logger_root]
  14. level=INFO
  15. handlers=
  16.  
  17. [logger_infolog]
  18. level=INFO
  19. handlers=console_handler,file_handler_infolog
  20. qualname=infolog
  21.  
  22. [logger_errorlog]
  23. level=ERROR
  24. handlers=console_handler,file_handler_errorlog
  25. qualname=errorlog
  26.  
  27. [handler_console_handler]
  28. class=StreamHandler
  29. formatter=console_formatter
  30. args=(sys.stdout,)
  31.  
  32. [handler_file_handler_infolog]
  33. class=handlers.RotatingFileHandler
  34. formatter=file_formatter
  35. args=('C:\\development\\python\\logs\\nomlines_info.log','a',1000000,100)
  36.  
  37. [handler_file_handler_errorlog]
  38. class=handlers.RotatingFileHandler
  39. formatter=file_formatter
  40. args=('C:\\development\\python\\logs\\nomlines_error.log','a',1000000,100)
  41.  
  42. [formatter_console_formatter]
  43. format=%(asctime)s --- %(levelname)s: %(message)s
  44. datefmt=%d-%m-%Y %H:%M:%S
  45.  
  46. [formatter_file_formatter]
  47. format=%(asctime)s --- %(levelname)s: %(message)s
  48. datefmt=%Y-%d-%m %H:%M:%S

Caracabe Heap is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.