Add LOG_TO_STDOUT variable + documentation (#1379)

This commit is contained in:
Kusha Gharahi
2020-09-28 18:51:59 -05:00
committed by GitHub
parent 2287ee9cc4
commit e3d27e8172
8 changed files with 18 additions and 5 deletions

View File

@@ -105,3 +105,11 @@ This might lead to the default route (your untunneled connection) to be used.
To drop the default route set the environment variable `DROP_DEFAULT_ROUTE` to `true`.
*Note*: This is not compatible with all VPNs. You can check your iptables routing with the `ip r` command in a running container.
### Changing logging locations
By default Transmission will log to a file in `TRANSMISSION_HOME/transmission.log`.
To log to stdout instead set the environment variable `LOG_TO_STDOUT` to `true`.
*Note*: By default stdout is what container engines read logs from. Set this to true to have Tranmission logs in commands like `docker logs` and `kubectl logs`. OpenVPN currently only logs to stdout.