monerod logs (to bitmonero.log) a different time than the one my Linux OS is configured for. It seems like another timezone (-2 hours from my OS). How can I set up monerod to use the same time and timezone as my OS?

Thank you in advance.


1 Answer 1


monerod logs using UTC for privacy reasons (to not leak your timezone should you need to share your logs).

If you really want your logs to be in your timezone, you can replace "gmtime" with "localtime", in the places this patch changed (ie, revert that patch):


  • Thank you for the answer, now it makes sense :) Thanks for the correction of my english as well. Jun 15, 2018 at 6:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.