EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Support for larger messages in IOC Error Logging facility
From: "J. Lewis Muir" <[email protected]>
To: [email protected]
Date: Wed, 01 Nov 2006 11:51:22 -0500
I have a situation where I would like to log messages via the IOC Error Logging facility (e.g. errlogPrintf) that are longer than the current maximum message size of 256 characters (as of EPICS 3.14.8.2).

I see that I probably could change MAX_MESSAGE_SIZE in EPICS base at

src/libCom/error/errlog.c

but I'd rather not be running a modified EPICS base.

As a work around, I could break up the longer messages into smaller pieces, logging each piece individually, but I would rather not. Is there a better way to handle this?

Or if I submitted a patch to allow a larger message size perhaps by changing the errlogInit function to allow a second argument of "int msgsize", would it likely be accepted or are there reasons against this?

Thanks,

J. Lewis Muir
Replies:
Re: Support for larger messages in IOC Error Logging facility Andrew Johnson

Navigate by Date:
Prev: RE: Get new, improved Matlab CA support, and crash your IOC with put callbacks Jeff Hill
Next: calcout without update Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Get new, improved Matlab CA support, and crash your IOC with put callbacks Jeff Hill
Next: Re: Support for larger messages in IOC Error Logging facility Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·