Salut, EPICS folks!
We have some proposal about IOC logger..
Problem background
------------------
- Seperated log files to record the messages from different IOC's.
But, some sites will continue to prefer to keep messages from several
IOC's in one file.
- Run time reconfiguration of iocLogServer.
Proposal:
--------
- Use one configuration file to specify all parameters for the server.
- One chapter should consist of information where messages from particular
must be saved:
<IOC name>| <full path> |<size limit>|<versioning>|<mail address>
...........................................................................
heraVME00 |/.../heraVME00_log.text|1000000 | Y |[email protected]
heraVME01 |/.../heraVME00_log.text|1000000 | Y |[email protected]
heraVME02 |/.../heraVME02_log.text|4000000 | Y |[email protected]
heraVME03 |/.../heraVME03_log.text|239093 | N |
...........................................................................
* msg from heraVME00 and heraVME01 will be saved in ONE file
- To add a new variable "EPICS_IOC_LOG_CONFIG_FILE" which should keep
full path to the configuration file.
- Send the signal SIGHUP (kill -1 <pid>) to iocLogServer to forse it to
read config file again a make inner reconfigurations. (to be discussed)
In start time:
1. iocLogServer <path to config file>
2. If ``config_file'' does not specify in command line then read
system env. variable EPICS_IOC_LOG_CONFIG_FILE.
3. If env. does not exist, then use today approach.
Problem background
------------------
- Once the file is written fully, we need a possibility to inform
the system manager about it and stop writing.
Proposal:
--------
- IOC log sever will check itself whether a new month has started and
crate new log file /xx/yy/mm/logfile.
- Send a mail to the system manager to tell about this.
SU,
Xiaosong Geng
- Replies:
- Re: proposal: IOC logger Jeff Hill
- Navigate by Date:
- Prev:
[Summary] Rs232c in EPICS Peregrine McGehee
- Next:
Re: proposal: IOC logger Jeff Hill
- 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
2024
- Navigate by Thread:
- Prev:
[Summary] Rs232c in EPICS Peregrine McGehee
- Next:
Re: proposal: IOC logger Jeff Hill
- 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
2024
|