codex-storage / cs-codex-dist-tests

Distributed System Tests for Nim-Codex
3 stars 3 forks source link

Add a way to configure log files location #3

Closed veaceslavdoina closed 1 year ago

veaceslavdoina commented 1 year ago

We are considering to run tests on external Kubernetes clusters via CI.

For easier log shipping to the ELK it will be useful to have a way to set log files location and nodes logs shipper will find them in that location.

Currently we can set location only directly in the config https://github.com/codex-storage/cs-codex-dist-tests/blob/9c6f00dbce922928a3f8a51b8b2b8540334b96e8/DistTestCore/Configuration.cs#L24

Set the value via env may be useful to pass different values to the same base container.

veaceslavdoina commented 1 year ago

In bc4035e723d7256fa891f5ec806088ae233a1bf0 we have an environment variable LOGPATH.