Once you've deleted the logfile the only thing you can do is to stop and start the application. Thsi will create a new logfile. But next time when it's growing out of hand do the cp /dev/null trick. If you're are keen to keep the log file, write a little script that makes a copy of it and then does the /dev/null trick to the original file. You can have this script running from cron perhaps once a week or so. The reason why it behaves like this is because the original application keeps track of the logfile pointer by inode. Cheers, Frits. -----Original Message----- From: Lowell, Tim: [mailto:Tim.C.Lowell@xxxxxxxxxxxxxxxxxx] Sent: Thursday, 23 September 2004 08:02 To: foxboro@xxxxxxxxxxxxx Subject: Re: [foxboro] /opt partition keeps filling up OK, so what should I do now? Can I just start a new file with the same name as the one I deleted using "touch"? =20 -----Original Message----- From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On Behalf Of Schouten, Frits JF Sent: Wednesday, September 22, 2004 2:53 PM To: 'foxboro@xxxxxxxxxxxxx' Subject: Re: [foxboro] /opt partition keeps filling up Normally it's not a good thing to just delete the log file. Logging carries on as per normal to the file you've just deleted but now you can't see it any more. A better way of reducing(emptying) the log file is to do a 'cp /dev/null logfilename'. Cheers, Frits. _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave EOM NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave