mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-03-13 09:43:00 +00:00
add example daemon read/write programs
This commit is contained in:
4
main.py
4
main.py
@@ -70,10 +70,6 @@ def main():
|
||||
# Set up logging
|
||||
handler = ConsoleHandler()
|
||||
|
||||
log_format = (
|
||||
"%(asctime)s - %(levelname)s - %(name)s - %(message)s"
|
||||
)
|
||||
|
||||
logging.addLevelName(logging.DEBUG, "\033[1;34m%s\033[1;0m" % logging.getLevelName(logging.DEBUG))
|
||||
logging.addLevelName(logging.INFO, "\033[1;32m%s\033[1;0m" % logging.getLevelName(logging.INFO))
|
||||
logging.addLevelName(logging.WARNING, "\033[1;33m%s\033[1;0m" % logging.getLevelName(logging.WARNING))
|
||||
|
||||
Reference in New Issue
Block a user