From a48611aa6d51057aabece6a82377dc3c1885d9e9 Mon Sep 17 00:00:00 2001 From: itr6 <44070017+itr6@users.noreply.github.com> Date: Wed, 12 Dec 2018 14:38:23 -0600 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 305ad36f..b9680b20 100644 --- a/README.md +++ b/README.md @@ -427,7 +427,10 @@ Bitwarden_rs logs failed login attempts to stdout. We need to set this so the ho #### Logging Failed Login Attempts to Syslog -We need to set the logging driver to syslog so the host OS and Fail2Ban can see them. Add the following to your docker-compose file: +We need to set the logging driver to syslog so the host OS and Fail2Ban can see them. +If you are using docker commands, you will need to add: `--log-driver syslog --log-opt tag=$TAG` to your command. + +If you are using docker-compose, add this to you yaml file: ``` bitwarden: logging: