EPICS Home

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  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Tue, 15 Oct 2024 15:57:27 +0200
Hi Mark,

On Mon, 14 Oct 2024 at 17:54, Mark Rivers <rivers at cars.uchicago.edu> wrote:

 

  • IOC console log - that's the log that Mark references. Messages to the IOC console are also logged to a remote log server.

 

I have a question about that.  Which of the following messages will be sent to the remote log server?

  • errlogPrintf
  • fprint to stdout
  • fprint to stderr



Only the functions of the errlog module will communicate with the errlog thread and push messages for delivery to the registered listeners.
(The console is by default registered as a listener.)

Usually, I print results or side effects of iocShell commands directly to stdout/stderr and anything from the driver - especially from background threads and if it can happen without an iocShell command - through errlog.
Also: be careful about not calling errlog functions before the errlog module is initialized. Things may not behave as expected.

Cheers,
~Ralph


References:
Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk
Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk
Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk
RE: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Mark Rivers via Tech-talk
Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Dr. Simon Friederich via Tech-talk
Re: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Ralph Lange via Tech-talk
RE: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Mark Rivers via Tech-talk

Navigate by Date:
Prev: Driver for TS600 Stage peiyu Quan via Tech-talk
Next: Help setting up coordinated motions for Galil controller Jesse Hopkins 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  2023  <20242025 
Navigate by Thread:
Prev: RE: Asyn + Streamdevice: Gamma Vacuum Digtial QPC, missmatch after some time Mark Rivers via Tech-talk
Next: Driver for TS600 Stage peiyu Quan 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  2023  <20242025