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

[chore] small logging cleanup #869

Conversation

NyaaaWhatsUpDoc
Copy link
Member

@NyaaaWhatsUpDoc NyaaaWhatsUpDoc commented Sep 29, 2022

  • pass in calldepth to lower log functions to ensure correctly set
  • syslog in more cases
  • use singular time format variable
  • add log.New() function to start a new entry
  • truncate syslog after 2048 bytes, not 1700. 1700 was a carry-over from previous logic

@NyaaaWhatsUpDoc NyaaaWhatsUpDoc merged commit 9fcfe61 into superseriousbusiness:main Oct 1, 2022
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