1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | PVA Gateway Logging Problem |
From: | "Murray, Doug via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 22 May 2023 18:16:20 +0000 |
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" } } } cheers -doug |