Author

Topic: Question regarding logging (Read 786 times)

legendary
Activity: 1652
Merit: 2301
Chief Scientist
October 02, 2011, 10:16:28 AM
#2
-logtimestamps  command-line param or logtimestamps=1 in the bitcoin.conf file.
(I dont' remember when that option was added, a 'git blame util.cpp' will tell you, look for fLogTimestamps)
newbie
Activity: 20
Merit: 0
October 01, 2011, 08:22:33 PM
#1
I have a couple questions about logging. I would like to log every time a transaction takes place, or a new block is downloaded from nodes. These logs would have to also include a timestamp. I was looking through an old debug.log, and found that none of the events were timestamped. Is there a setting that allows for these customizations, or will I have to do it manually in the code?

In addition, how difficult will it be to modify for this kind of a change.

Thank you.
Jump to: