Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logging format of happy path to improve readability #21

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

crypto-ali
Copy link
Owner

This PR moves the last sentence of the happy path logging into it's own logger call to improve the readability of the happy path logs. It is now easier to see when the last uptime proof was accepted in human readable elapsed time.

Before:

status_logger - INFO - Checking service node: a1b2c3
status_logger - INFO - Your Oxen Service Node's last uptime proof was received at: Apr 16, 2024 - 09:35:56 AM
status_logger - INFO - The monitor server's current time is: Apr 16, 2024 - 10:31:56 AM
status_logger - INFO - Oxen service node operational. Last uptime proof accepted at: Apr 16, 2024 - 09:35:56 AM. Last uptime proof accepted 00:56:00 ago.

After:

status_logger - INFO - Checking service node: a1b2c3
status_logger - INFO - Your Oxen Service Node's last uptime proof was received at: Apr 16, 2024 - 09:35:56 AM
status_logger - INFO - The monitor server's current time is: Apr 16, 2024 - 10:31:56 AM
status_logger - INFO - Oxen service node operational. Last uptime proof accepted at: Apr 16, 2024 - 09:35:56 AM.
status_logger - INFO - Last uptime proof accepted 00:56:00 ago.

This PR also updates the changelog to reflect this change and the dependency bump in PR #20.

Update changelog
@crypto-ali crypto-ali merged commit 7ec3615 into master Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant