I’ve successfully configured a PVA gateway (based on p4p R4.1.6) but I can’t get the logging mechanism to work. The gateway itself is working fine. I’ve reduced the config file to a simple one, but still no output is produced.
Does anybody have a working example of a JSON log config file in dictConfig format, or have an idea what might need to change in this file?
{
"version": 1,
"disable_existing_loggers": "False",
"formatters": {
"consoleFormat": {
"format": "%(asctime)s | %(name)s | %(levelname)s | %(message)s"
}
},
"handlers": {
"consoleMessages": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "consoleFormat",
"stream": "ext://sys.stdout"
}
},
"loggers": {
"": {
"handlers": ["consoleMessages"],
"level": "DEBUG",
"propagate": "True"
}
}
}