can I change the date format in my event log ?

Message boards : Questions and problems : can I change the date format in my event log ?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Byron Leigh Hatch @ team Carl ...
Avatar

Send message
Joined: 30 Aug 05
Posts: 505
Canada
Message 40686 - Posted: 15 Oct 2011, 21:11:03 UTC
Last modified: 15 Oct 2011, 21:15:16 UTC

W7
BOINC 6.12.34 (x86)
Question:
can I change the date format in my event log from local time to UTC time?
if so how?
I did a search on these BOINC message boards and Google but couldn't find anything.
TIA
Byron
ID: 40686 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 40687 - Posted: 15 Oct 2011, 22:37:57 UTC - in response to Message 40686.  

The time and date as shown follows the computer clock on your system, so you'd have to change that to UTC before the event log follows that.
ID: 40687 · Report as offensive
whynot

Send message
Joined: 8 May 10
Posts: 89
Ukraine
Message 40779 - Posted: 22 Oct 2011, 14:45:21 UTC

But, that would make system time to be UTC. That will be very inconvenient.

For those using real operating systems here comes the recipe. You should set TZ environment variable to empty value (or any unparsable value, tzset(3) has more) for boinc-client process. For debian (and nasty derivates), first stop the client; then add this line:

export TZ=''


somewhere in /etc/default/boinc-client file; then start again. Don't edit with client running -- time doesn't like dirty jokes. Users of other real operating systems probably should find more suitable way.

I've just checked. Time in logs is UTC now. However deadlines of already present WUs aren't (I've moved time three hours back). You probably shouldn't do that under heavy load.

I'm counting for science,
points just make me sick.
ID: 40779 · Report as offensive
whynot

Send message
Joined: 8 May 10
Posts: 89
Ukraine
Message 40884 - Posted: 29 Oct 2011, 14:16:47 UTC - in response to Message 40779.  


However deadlines of already present WUs aren't (I've moved time three hours back). You probably shouldn't do that under heavy load.


After some experiments, I've discovered that's whatever interface to client in use what localizes time (deadlines are in UTC all the way).

I'm counting for science,
points just make me sick.
ID: 40884 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 40887 - Posted: 29 Oct 2011, 18:28:06 UTC - in response to Message 40884.  

... and after this your local interface clock still show in *your* local time? (I'm on that real OS, at least there's a GRUB boot record offering to start 3.0.12 kernel.)

--//--
ID: 40887 · Report as offensive
whynot

Send message
Joined: 8 May 10
Posts: 89
Ukraine
Message 40997 - Posted: 5 Nov 2011, 19:04:16 UTC - in response to Message 40887.  

Yup

boinc@orphan:~$ boinccmd --run_benchmarks ; sleep 45s ; tail stdoutdae.txt ; date
05-Nov-2011 18:58:29 [ABC@home] Starting abc_sieve_wu_04856387_0
05-Nov-2011 18:58:29 [ABC@home] Starting task abc_sieve_wu_04856387_0 using abc-sieve version 210
05-Nov-2011 18:59:00 [---] Running CPU benchmarks
05-Nov-2011 18:59:00 [---] Suspending computation - running CPU benchmarks
05-Nov-2011 18:59:00 [---] Running CPU benchmarks
05-Nov-2011 18:59:31 [---] Benchmark results:
05-Nov-2011 18:59:31 [---]    Number of CPUs: 1
05-Nov-2011 18:59:31 [---]    1316 floating point MIPS (Whetstone) per CPU
05-Nov-2011 18:59:31 [---]    3945 integer MIPS (Dhrystone) per CPU
05-Nov-2011 18:59:32 [---] Resuming computation
Sat Nov  5 20:59:45 EET 2011


Please note, that doesn't affect special boinc account. Only client is affected.

I'm counting for science,
points just make me sick.
ID: 40997 · Report as offensive

Message boards : Questions and problems : can I change the date format in my event log ?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.