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.
Variable log length
Moderators: Site Moderators, FAHC Science Team
-
- Site Moderator
- Posts: 1094
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Variable log length
The log is rotated every 24 hours.
It used to be only rotated at launch.
It used to be only rotated at launch.
-
- Site Moderator
- Posts: 6349
- Joined: Sun Dec 02, 2007 10:38 am
- Location: Bordeaux, France
- Contact:
Re: Variable log length
Another weird choice for this client ...
-
- Site Admin
- Posts: 7926
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2 - Location: W. MA
Re: Variable log length
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.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
-
- Site Moderator
- Posts: 1094
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Variable log length
All available log settings can be seen via
On Windows, I think it is still named FAHClient.
Code: Select all
fah-client —help
-
- Site Admin
- Posts: 7926
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2 - Location: W. MA
Re: Variable log length
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.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
-
- Site Moderator
- Posts: 1094
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Variable log length
Options go on command line, or preferably in config.xml.
-
- Site Moderator
- Posts: 1094
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Variable log length
Log files can get huge with a long running client, higher verbosity, and multiple GPU slots.