Projects tigase _server server-core Issues #1115
We should not use WARNING during startup (#1115)
Closed
wojciech.kapcia@tigase.net opened 5 years ago

Unless it's a real problem WARNING loglevel should not be used during startup:

  • it causes unnecessary monitor notifications
  • could cause wrong impression about startup for users
wojciech.kapcia@tigase.net commented 3 years ago

I was trying to adjust it and it's somewhat a catch-22 due to set of defaults used (ConsoleHandler is configure only to emit WARNING, lowering it would food tigase-console.log greatly). One possibility would be to adjust log levels across the Tigase (bug considering switch to System.Logger in #issue #1211 with somewhat different log levels, and probably further review of logging levels, doing the change now wouldn't be advisable). Alternatively we could use System.out.println() like in some other places but it seems less elegant.

At any rate, it's minor and should not block 8.2.0 release.

wojciech.kapcia@tigase.net commented 2 years ago

Levels adjusted.

issue 1 of 1
Type
Task
Priority
Minor
Assignee
Version
tigase-server-8.3.0
Spent time
11h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1115
Please wait...
Page is in error, reload to recover