Smalyshev added a comment.

My ideal situation for Updater logs is as follows:

  • Updater which is run from service logs to files, and logs important stuff (that would be mostly exceptions) to logstash. Routine stuff (INFO level) not necessary to keep in logstash.
  • The log files should be accessible without root access, at least to blazegraph user, ideally to all users inside wdqs-admins group.
  • Updater invoked from command-line logs by default to console on INFO level (it's OK to have separate option for it). logstash logging is ok but not really necessary here.
  • Updater invoked from command-line has an option to go to DEBUG level and another to go to TRACE level.
  • Neither DEBUG nor TRACE logs go to logstash.
  • The options above are accessible without root/sudo and not require editing config files.

For Blazegraph, we probably want everything from INFO level up into both logstash and log files. Option to run at DEBUG level would be nice but I've not used it too much in the past.

We probably should get rid of both services sending anything to journald, I am disappointed in its performance and I think we should avoid putting anything there.


TASK DETAIL
https://phabricator.wikimedia.org/T207834

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Smalyshev, gerritbot, Gehel, Aklapper, CucyNoiD, Nandana, NebulousIris, thifranc, AndyTan, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Davinaclare77, Adrian1985, Qtn1293, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Hfbn0, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, Lewizho99, Zppix, Maathavan, Jonas, Xmlizer, Wong128hk, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, faidon, Mbch331, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to