1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-10 06:47:58 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Hidden Z
891472cfac web/lib/utils.py: add check_logger_options()
We need to check config options for logger in various scripts, and this
check is almost same, so move it to separate function.
2010-10-31 19:48:33 +00:00
Hidden Z
1cff3cedcb web/lib/utils.py: bugfix: take WatchedFileHandler properly 2010-10-31 18:38:27 +00:00
Hidden Z
e1be09b22f web/lib/utils.py: use WatchedFileHandler
Let admins safely rotate the logfiles with logrotate(8).
2010-10-30 21:31:30 +00:00
Hidden Z
85263b65cc web/lib/utils.py: a set of various utils for project
And firstly write get_logger() function. It provides common mechanism
for creating logger instances inside scripts.
2010-10-29 20:45:10 +00:00