Skip to content

Commit 2beb53a

Browse files
prashkerxavier-hernandez
authored andcommitted
Respect user specified LOG_TYPE_FILE_PATTERN for traefik
Previously was clobbered by "*.log" if user specified LOG_TYPE_FILE_PATTERN was given
1 parent 0b278a1 commit 2beb53a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

resources/scripts/logs/traefik.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ function traefik(){
6969

7070
if [[ -z "${LOG_TYPE_FILE_PATTERN}" ]]; then
7171
LOG_TYPE_FILE_PATTERN="access.log"
72-
else
73-
LOG_TYPE_FILE_PATTERN="*.log"
7472
fi
7573

7674
for file in $(find "${goan_log_path}" -name "${LOG_TYPE_FILE_PATTERN}");

0 commit comments

Comments
 (0)