Location of Event Log (file)?

Message boards : Questions and problems : Location of Event Log (file)?
Message board moderation

To post messages, you must log in.

AuthorMessage
ncoded.com

Send message
Joined: 13 Dec 16
Posts: 55
United Kingdom
Message 78358 - Posted: 29 May 2017, 20:51:24 UTC

Hi,

We have done a search on Event log file location and nothing came up hence why we post this question.

Can someone tell us where the information presented in:

Tools | Event Log

Is actually stored, and if it is within a file, or some other persistent storage?

We want to write some software that analyses Work Units (WU) that have been downloaded and reported with 24 hours, and this would seem the best way to do this as it contains the necessary information within the Event Log.

Obviously we would be mindful of the file being possibly locked due to the BOINC client reading/writing into it.

Thanks.
ID: 78358 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 78359 - Posted: 29 May 2017, 21:26:39 UTC - in response to Message 78358.  

It's being logged to the stdoutdae.txt file, which is in the BOINC data directory. Where that is depends on your operating system.
ID: 78359 · Report as offensive
ncoded.com

Send message
Joined: 13 Dec 16
Posts: 55
United Kingdom
Message 78360 - Posted: 29 May 2017, 22:48:52 UTC - in response to Message 78359.  

Thank you Ageless, its much appreciated.
ID: 78360 · Report as offensive
ncoded.com

Send message
Joined: 13 Dec 16
Posts: 55
United Kingdom
Message 78362 - Posted: 29 May 2017, 23:32:23 UTC - in response to Message 78359.  
Last modified: 29 May 2017, 23:40:38 UTC

Would it be possible to make a suggestion?

Could I suggest that this file be written out as a CSV file? If would be a lot easier to read in code if the file were.

The reason I ask is because if you try and import this file it basically breaks the whole file apart and makes it unusable, as it gets confused between the space used as a delimiter within the first 2 elements, and then the later spaces within the description; eg uploaded XXXXX etc.

Thanks
ID: 78362 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 78374 - Posted: 30 May 2017, 13:18:12 UTC - in response to Message 78362.  

Could I suggest that this file be written out as a CSV file? If would be a lot easier to read in code if the file were.
The output file writes to a generic text file, as this is compatible between all the platforms BOINC is built for. Also, when enabling debug flags, it would be nice to be able to read the debug output in a coherent way, instead of having commas between every word. There are however plenty of possibilities to convert a text file to comma separated values.

There are also already a lot of third party add-ons that use the present output files, so to go change the output manner for a new setup would break it for all the old ones, that wouldn't be a nice thing to do.
ID: 78374 · Report as offensive
Profile Agentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 78548 - Posted: 3 Jun 2017, 13:40:08 UTC
Last modified: 3 Jun 2017, 13:40:39 UTC

Perhaps you might get better information about tasks if you look at

a) job_log_<project_name>.txt file in the boinc data directory, which records all completed tasks.
b) or use the various boinccmd command options such as
    --get_tasks # show tasks
    --get_old_tasks # show reported tasks from last 24 hours



Event logs are quite dynamic, easily overwritten and liable to be tuned by user settings.

ID: 78548 · Report as offensive
ncoded.com

Send message
Joined: 13 Dec 16
Posts: 55
United Kingdom
Message 79485 - Posted: 6 Jul 2017, 22:57:05 UTC - in response to Message 78548.  

Thank you Agentb, that is very useful.

Sorry I have only just seen this post.
ID: 79485 · Report as offensive

Message boards : Questions and problems : Location of Event Log (file)?

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.