EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  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  2024  Index 1994  1995  <19961997  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  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS_IOC_LOG_FILE_COMMAND
From: [email protected] (William Lupton)
To: [email protected], [email protected]
Date: Fri, 21 Jun 96 08:26:59 HST
Dear all,

Matt Bickley wrote:
> Rather than using SIGHUP to signal the log server to get a new directory for
> the log file, how about using SIGUSR1 or SIGUSR2?  Are those signals available
> on all host machines?

SIGUSR1 and SIGUSR2 appear to be standard Posix signals. However, I
think that SIGHUP is often used in the way that the IOC log server now
uses it, e.g. syslogd and inetd both re-read their configuration files
when they receive a SIGHUP. In the IOC log server case, it re-executes
the shell command that derives the name of the directory into which to
write the log file.

Perhaps I should explain that the motivation behind this change was to
allow an on-the-fly switch of log file directory without having to stop
and restart the server. We have it running all the time and have a cron
job which sends it the signal at a fixed time each day. This allows us
to implement our policy of organizing log files in a /xxxxx/yy/mm/dd
directory structure.

William

PS, The macro library is nearly ready for distribution...


Navigate by Date:
Prev: CVS Bakul Banerjee
Next: Vanishing OUTLINKS Peregrine McGehee
Index: 1994  1995  <19961997  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  2024 
Navigate by Thread:
Prev: Re: EPICS_IOC_LOG_FILE_COMMAND Matt Bickley
Next: Misc. Software Distribution Issues Bakul Banerjee
Index: 1994  1995  <19961997  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  2024