mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 01:39:21 -07:00
Created Logging (markdown)
10
Logging.md
Normal file
10
Logging.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Logging to a file is supported as of 1.5.0. You can specify the path to the log file with the `LOG_FILE` environment variable:
|
||||
|
||||
```sh
|
||||
docker run -d --name bitwarden \
|
||||
...
|
||||
-e LOG_FILE=/data/bitwarden.log \
|
||||
...
|
||||
```
|
||||
|
||||
Note that if you're using the docker image, you'll most likely want to use a file path that is mounted from the host OS (such as the data folder).
|
||||
Reference in New Issue
Block a user