Putty log file location
- VolkerHalle
- Topic Author
- Visitor
14 years 9 months ago #4797
by VolkerHalle
Replied by VolkerHalle on topic RE: generic feedback: log file maintenance
Bruce,
while we're discussing log file issues, here is another feedback, especially for the production versions:
Whenever you use log files being written directly from the emulator, please consider to think about - and eventually implement - some kind of automatic log file maintenance.
I've seen cases where something happened and a running emulator wrote a multi GB log file. I've even seen a case, where an emulator log file overflowed the Windows disk.
In those cases, you don't want to stop 'production' to just reset the log file or even try to look at it. As I explained before, it's easy with Putty: you can re-start the log file while running.
For log files written directly by the emulator, consider:
- specify maximum size and have emulator automatically create a new file and save the old one (with ;-1)
- specify maximum lifetime (30 days) of the log file
- create some mechanism to reset the log file(s) based on some 'signal' received from an external program
Log files are an improvement versus real Alphas, but they can also create new problems.
Volker.
while we're discussing log file issues, here is another feedback, especially for the production versions:
Whenever you use log files being written directly from the emulator, please consider to think about - and eventually implement - some kind of automatic log file maintenance.
I've seen cases where something happened and a running emulator wrote a multi GB log file. I've even seen a case, where an emulator log file overflowed the Windows disk.
In those cases, you don't want to stop 'production' to just reset the log file or even try to look at it. As I explained before, it's easy with Putty: you can re-start the log file while running.
For log files written directly by the emulator, consider:
- specify maximum size and have emulator automatically create a new file and save the old one (with ;-1)
- specify maximum lifetime (30 days) of the log file
- create some mechanism to reset the log file(s) based on some 'signal' received from an external program
Log files are an improvement versus real Alphas, but they can also create new problems.
Volker.
Please Log in or Create an account to join the conversation.
- Bruce Claremont
- Topic Author
- Visitor
14 years 9 months ago #4798
by Bruce Claremont
Replied by Bruce Claremont on topic RE: Putty log file location
Yep, planned for the production release FreeAXP will specific a default size for the log file (300K<img src='../images/smiley/cool.gif' alt='smiley'> that can be changed via a command line parameter. If the size is exceeded, it will use the versioning trick (why has no other O/S implemented versioning) to retain up to 5 logs. We'll probably put in a version limit command line parameter as well.<hr>
Please Log in or Create an account to join the conversation.
Moderators: iamcamiel
Time to create page: 0.184 seconds