HomeSoftware Heritage

Introduce SWH_LOG_TARGET to allow switching between console and journal

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Introduce SWH_LOG_TARGET to allow switching between console and journal

The current state of the celery worker/utility logging setup makes us log twice:
the default value of log_console can't be overridden by the cli flag in celery
workers.

The environment variable can be set to journal when running as a systemd
service; this shuts down the console logger, and allows the metadata added to
log messages to pass through.

Details

Provenance
olasdAuthored on Mar 8 2019, 5:37 PM
olasdPushed on Mar 13 2019, 3:31 PM
Differential Revision
D1233: Introduce SWH_LOG_TARGET to allow switching between console and journal
Build Status
Buildable 4629
Build 6143: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.