...
- IOC console session stops logging (also see the maintence section below - logging is monitored daily by a cron job)
looks like this: screenlog.0 is missing OR screenlog.0 is not growing as expected
There are a couple of possible causes:- your IOC has its own copy of screenrc with "deflog on" commented out
- check to see of there's a $IOC/iocname/screenrc file
- if so, make sure the "deflog on" is not commented out ("#deflog on")
- the iocConsole session has terminated or is in an inconsistent state
- for HARD IOC only do iocConsole -cleanup:
- First do
iocConsole iocname -cleanup - then
iocConsole iocname
- the screen process logging function has hung up somehow (this happens most commonly for soft IOCs, but can probably occur for all IOCs)
- if screenlog.0 exists, make a backup copy
cd $IOC_DATA/iocname
cp screenlog.0 screenlog.0SAVE - iocConsole iocname
- within the iocConsole session, toggle logging off and then on again:
ctrl-a H
ctrl-a H
then exit iocConsole with ctrl-a d
- if screenlog.0 exists, make a backup copy
- your IOC has its own copy of screenrc with "deflog on" commented out
...