Skip to content

Commit

Permalink
Non blocking error message when Glances starts from a container (alpi…
Browse files Browse the repository at this point in the history
…ne-dev image) #2991
  • Loading branch information
nicolargo committed Oct 26, 2024
1 parent 34da616 commit 5b091f4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker-files/docker-logger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": 1,
"disable_existing_loggers": "False",
"root": {"level": "INFO", "handlers": ["console"]},
"formatters": {
"standard": {"format": "%(asctime)s -- %(levelname)s -- %(message)s"},
"short": {"format": "%(levelname)s -- %(message)s"},
"long": {"format": "%(asctime)s -- %(levelname)s -- %(message)s (%(funcName)s in %(filename)s)"},
"free": {"format": "%(message)s"}
},
"handlers": {
"console": {"class": "logging.StreamHandler", "formatter": "standard"}
},
"loggers": {
"debug": {"handlers": ["console"], "level": "DEBUG"},
"verbose": {"handlers": ["console"], "level": "INFO"},
"standard": {"handlers": ["console"], "level": "INFO"},
"requests": {"handlers": ["console"], "level": "ERROR"},
"elasticsearch": {"handlers": ["console"], "level": "ERROR"},
"elasticsearch.trace": {"handlers": ["console"], "level": "ERROR"}
}
}

0 comments on commit 5b091f4

Please sign in to comment.