EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: 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 20:32:42 +0000

Problem solved, the config files I started from used “True” and “False” instead of true and false.

Perhaps the previous one was based on yaml instead of json..?

 

cheers

-doug

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Murray, Doug via Tech-talk <tech-talk at aps.anl.gov>
Date: Monday, May 22, 2023 at 11:17 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: PVA Gateway Logging Problem

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

 


Replies:
Re: PVA Gateway Logging Problem Michael Davidsaver via Tech-talk
References:
PVA Gateway Logging Problem Murray, Doug via Tech-talk

Navigate by Date:
Prev: RE: warning: multiple interrupt callbacks between processing when running testAsynPortDriverApp Mark Rivers via Tech-talk
Next: Re: PVA Gateway Logging Problem Michael Davidsaver via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: PVA Gateway Logging Problem Murray, Doug via Tech-talk
Next: Re: PVA Gateway Logging Problem Michael Davidsaver via Tech-talk
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  <20232024 
ANJ, 22 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·