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

Logging unclutter #615

Merged
merged 3 commits into from
Dec 3, 2023
Merged

Logging unclutter #615

merged 3 commits into from
Dec 3, 2023

Conversation

okybaca
Copy link
Contributor

@okybaca okybaca commented Nov 27, 2023

In an effort to unclutter the log files, I did followig small changes:

  • changed the network-related messages from keyword YACY to more descriptive NETWORK
  • changed the repeating loglines about DHT selection to loglevel fine (these many single-liners about DHT priority and RWI extensions are good only for debug, not for the regular run)
  • changed the peerping messages to loglevel fine (could be config as well, but there should be some granularity to distinguish between more important messages from these cluttering common ones)
  • added a NETWORK category into the default yacy.logging file
  • added a FINER and FINEST loglevels to default logging file, because they are used in the code, but not documented

Could be a part of solution for #611.

RWI and CRAWLER (as proposed in #414) should be categorised later and logging cleaned in a way that everything could be switched on/off by config file in a neat way.

@Orbiter Orbiter merged commit d097a64 into yacy:master Dec 3, 2023
1 check passed
@okybaca okybaca deleted the logging2 branch December 4, 2023 09:36
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.

2 participants