Armstrong Posted April 7, 2010 Share Posted April 7, 2010 Hi, I have some DF installations that have been running for years now, however in some of them the alarm log file has become too big to be opened, even with Excel, in some case over 1 GB! So how can I prevent this file from getting too big? The problem is that it is somehow locked, so when DF is running you can not rename or delete that file. Thanks. Link to comment Share on other sites More sharing options...
AzeoTech Posted April 8, 2010 Share Posted April 8, 2010 Alas, you'll probably need to rename the file next time you restart DAQFactory. Link to comment Share on other sites More sharing options...
Armstrong Posted April 8, 2010 Author Share Posted April 8, 2010 Problem is that DAQFactory runs continuously, or at least it is supposed to, but I don't have control, those are remote installations so I don't have access. How can I programatically rename that file? lets say evey six months or so? Link to comment Share on other sites More sharing options...
Armstrong Posted April 12, 2010 Author Share Posted April 12, 2010 No ideas??? Link to comment Share on other sites More sharing options...
AzeoTech Posted April 12, 2010 Share Posted April 12, 2010 We'll look to provide a way to change the alarm file name from script for the next release (which I'd expect in a few weeks) Link to comment Share on other sites More sharing options...
fitsifounis Posted January 11, 2012 Share Posted January 11, 2012 Hello! I would like to ask if the possibility to change the file name of alarm file name through script is available at version 5.86. I am trying to keep a file per day for the alarms, configuring the name as it is shown in para. 9.10.6 of the user guide for the logging file name. Otherwise I could just delete it frequently and the issue is that the file is locked and cannot be deleted through script. -br- Costas Link to comment Share on other sites More sharing options...
AzeoTech Posted January 11, 2012 Share Posted January 11, 2012 No, at present you can only change the log file from the UI. If you really have a lot of alarm entries, you are much better off logging to a database. You can download MySQL for free. Link to comment Share on other sites More sharing options...
fitsifounis Posted January 12, 2012 Share Posted January 12, 2012 Thank you for your fast reply. -br- Costas Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.