summaryrefslogtreecommitdiff
path: root/internal/configuration/validator/access_control_test.go
diff options
context:
space:
mode:
authorAmir Zarrinkafsh <nightah@me.com>2021-01-15 22:16:41 +1100
committerGitHub <noreply@github.com>2021-01-15 22:16:41 +1100
commitfd7b4ada027bc178ac3a42d81e43de288bf4477f (patch)
treeed1fd8e3374d22e63f2d7b6c7dc546cc9113543d /internal/configuration/validator/access_control_test.go
parent8fa76499cb97d29b1e6b969a8e30fff5e2c8fe73 (diff)
[BUGFIX] Disable colored logging outputs when file is specified (#1603)
In some scenarios if a user has a `log_file_path` specified and a TTY seems to be detected this causes terminal coloring outputs to be written to the file. This in turn will cause issues when attempting to utilise the log with the provided fail2ban regexes. We now override any TTY detection/logging treatments and disable coloring/removal of the timestamp when a user is utilising the text based logger to a file.
Diffstat (limited to 'internal/configuration/validator/access_control_test.go')
0 files changed, 0 insertions, 0 deletions