Page MenuHomePhabricator

Properly configure logback for W[CD]QS streaming updater
Open, Needs TriagePublic

Description

As an operator of W[CD]QS, I want to have local access to the logs and I want the configuration files to reflect the reality of the service so that I can properly diagnose potential issues.

Currently, we have a logback configuration in /etc/query_service/logback-wcqs-updater.xml, but that isn't loaded as our startup scripts don't configure -Dlogback.configurationFile=.

AC:

  • changes to logback configuration files are properly reflected in the streaming updater
  • logs are available on disk as expected in /var/log/query_service/
  • code is simplified to account for the differentiation between WCQS and WDQS

Event Timeline

Gehel removed the point value for this task.

Change 757124 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[operations/puppet@production] rdf query service: Use constant filename for defaults

https://gerrit.wikimedia.org/r/757124

Change 757146 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[wikidata/query/deploy@master] Deparameterize streaming updater defaults path

https://gerrit.wikimedia.org/r/757146

Change 757146 abandoned by Ebernhardson:

[wikidata/query/deploy@master] Deparameterize streaming updater defaults path

Reason:

wrong codebase

https://gerrit.wikimedia.org/r/757146

Change 757514 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[wikidata/query/rdf@master] Deparameterize streaming updater defaults path

https://gerrit.wikimedia.org/r/757514

Change 757514 merged by jenkins-bot:

[wikidata/query/rdf@master] Deparameterize streaming updater defaults path

https://gerrit.wikimedia.org/r/757514