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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Rotating or deleting procServ log files |
From: | Wesley Moore <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | EPICS Tech-Talk <[email protected]> |
Date: | Tue, 2 Jun 2015 16:45:26 -0400 (EDT) |
From: "Mark Rivers" <[email protected]>
To: "Ralph Lange" <[email protected]>
Cc: "EPICS Tech-Talk" <[email protected]>
Sent: Tuesday, June 2, 2015 4:22:07 PM
Subject: Rotating or deleting procServ log files
Ralph,
procServ log files sometimes get very large, so we would like to rotate them, and or delete them and start a new one without restarting the procServ process.
Is this possible? I found that if I rename the log file procServ just kept writing to the renamed file. If I delete the log file procServ does not create a new one, it just silently continues without logging anything.
Is there a correct way to replace the current log file without restarting the procServ process?
This is procServ 2.6.0.
Thanks,
Mark