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  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to run IOC in docker containers properly
From: "J. Lewis Muir via Tech-talk" <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 18 Jun 2020 14:24:29 -0500
On 06/18, Johnson, Andrew N. via Tech-talk wrote:
> It’s a risk, but screen has been an essential part of our systems since we started using soft IOCs without our hitting that issue to my knowledge. I don’t have an alternative solution, I assume tmux might behave the same?

If you're asking whether tmux can log, the answer is yes, using the
pipe-pane command.  With that command, you can pipe the output of a tmux
pane to a shell command which can arrange for the output to be saved to
a file.  The shell command could be as simple as "cat >> ~/foo.log" or
more complex like running a logging program such as s6-log [1] that can
safely log to a file and handle file rotation.

Lewis

[1]: https://www.skarnet.org/software/s6/s6-log.html

Replies:
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
References:
How to run IOC in docker containers properly xiao zhang via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Konrad, Martin via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: How to run IOC in docker containers properly Mark Rivers via Tech-talk
Next: Re: How to run IOC in docker containers properly Johnson, Andrew N. 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to run IOC in docker containers properly Mark Rivers via Tech-talk
Next: Re: How to run IOC in docker containers properly Johnson, Andrew N. 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  <20202021  2022  2023  2024