HomeSoftware Heritage

Allow relative paths for $log_file

Description

Allow relative paths for $log_file

0c851ce3cd8d44256a3577dd81eaa88614095ac4 changed $log_dir for SCL
deployments. However, $log_file was still absolute. That caused it to
log to a non-existing directory.

This patch makes $log_file accept a relative path. If a relative path is
specified, $log_dir will be prepended. Absolute paths are still used
directly which keeps API compatibility.

Details

Provenance
Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>Authored on Jan 27 2021, 7:30 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
R226:f09959916b74: Merge pull request #379 from ekohl/log-dir-on-scl
Branches
Unknown
Tags
Unknown

Event Timeline

Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> committed R226:141cf911a141: Allow relative paths for $log_file (authored by Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>).Jan 27 2021, 7:57 PM