Page 1 of 1
Variable log length
Posted: Sat Apr 01, 2023 2:32 am
by Dayle Diamond
I've had my computer running without restarting for quite a while.
Sometimes the beta's log is extensive and goes back a dozen work units.
Sometimes the log goes back for just one or two.
In the old version, the log seemed to have a set number of lines.
My current log opens with
"*********************** Log Started 2023-04-01T00:00:05Z ***********************
00:00:05:I1::WU545:Completed 725000 out of 1250000 steps (58%)
00:00:10:I1::WU545:Checkpoint completed at step 725000"
Perhaps is it wiping all old information at T00:00:00 ?
Not sure if it's a bug or a feature.
Re: Variable log length
Posted: Sat Apr 01, 2023 3:37 am
by calxalot
The log is rotated every 24 hours.
It used to be only rotated at launch.
Re: Variable log length
Posted: Sat Apr 01, 2023 4:11 pm
by toTOW
Another weird choice for this client ...
Re: Variable log length
Posted: Sun Apr 02, 2023 1:27 pm
by Joe_H
calxalot wrote: ↑Sat Apr 01, 2023 3:37 am
The log is rotated every 24 hours.
It used to be only rotated at launch.
Any settings available to turn off the log rotation or configure it to be a longer period than every 24 hours? Or do we need to put in an enhancement request.
I already modified the log retention setting from the default of 16 old logs, find old logs useful for checking on projects run weeks or months before as beta to compare to current reports. For example, there is a report of a project here that is getting unusually high points, apparently it is issuing some 1/5 size WUs in terms of steps. In this case my logs don't help as it is a GPU project, and currently only doing CPU projects. But I have identified this happening in the past for CPU projects.
Re: Variable log length
Posted: Sun Apr 02, 2023 10:40 pm
by calxalot
All available log settings can be seen via
On Windows, I think it is still named FAHClient.
Re: Variable log length
Posted: Mon Apr 03, 2023 3:08 am
by Joe_H
Okay, I see a parameter "log-rotate-period" with a default value of 86400 seconds or one day. Now to figure out how to start the client process with a different value set. Set to 0 would turn off rotating the log.
Re: Variable log length
Posted: Mon Apr 03, 2023 4:55 am
by calxalot
Options go on command line, or preferably in config.xml.
Re: Variable log length
Posted: Mon Apr 03, 2023 4:57 am
by calxalot
Log files can get huge with a long running client, higher verbosity, and multiple GPU slots.