EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1983385] [NEW] iocLogPrefix incompatible with VxWorks logMsg
From: Dirk Zimoch via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Tue, 02 Aug 2022 14:30:47 -0000
Public bug reported:

When defining a iocLogPrefix, messages generated with logMsg on VxWorks
contain the prefix before and after each format specifier, including
those generated by the system for thread id. No problem with
errlogPrintf though.

On the VxWorks shell I do:
iocLogPrefix "[PREFIX]"
errlogPrintf "with errlogPrintf %s number %d\n", "hello",3
logMsg "with logMsg %s number %d\n", "hello",3

On the log server I see:
[PREFIX]with errlogPrintf hello number 3
[PREFIX]0x[PREFIX]574140[PREFIX] ([PREFIX]tShell0[PREFIX]): [PREFIX]with logMsg [PREFIX]hello[PREFIX] number [PREFIX]3[PREFIX]

** Affects: epics-base
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1983385

Title:
  iocLogPrefix incompatible with VxWorks logMsg

Status in EPICS Base:
  New

Bug description:
  When defining a iocLogPrefix, messages generated with logMsg on
  VxWorks contain the prefix before and after each format specifier,
  including those generated by the system for thread id. No problem with
  errlogPrintf though.

  On the VxWorks shell I do:
  iocLogPrefix "[PREFIX]"
  errlogPrintf "with errlogPrintf %s number %d\n", "hello",3
  logMsg "with logMsg %s number %d\n", "hello",3

  On the log server I see:
  [PREFIX]with errlogPrintf hello number 3
  [PREFIX]0x[PREFIX]574140[PREFIX] ([PREFIX]tShell0[PREFIX]): [PREFIX]with logMsg [PREFIX]hello[PREFIX] number [PREFIX]3[PREFIX]

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1983385/+subscriptions


Replies:
[Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg mdavidsaver via Core-talk
[Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg Dirk Zimoch via Core-talk
[Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg Dirk Zimoch via Core-talk
[Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg mdavidsaver via Core-talk
[Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg Dirk Zimoch via Core-talk
[Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg Dirk Zimoch via Core-talk

Navigate by Date:
Prev: Re: epics-base/.ci submodule problem Ralph Lange via Core-talk
Next: [Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: epics-7.0 » mac - Build # 413 - Fixed! APS Jenkins via Core-talk
Next: [Bug 1983385] Re: iocLogPrefix incompatible with VxWorks logMsg mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·