We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8ce9e commit fd1f37aCopy full SHA for fd1f37a
resources/scripts/logs/traefik.sh
@@ -60,7 +60,14 @@ function traefik(){
60
61
echo -e "\n\tAdding proxy logs..."
62
IFS=$'\n'
63
- for file in $(find "${goan_log_path}" -name 'access.log');
+
64
+ if [[ -z "${LOG_TYPE_FILE_PATTERN}" ]]; then
65
+ LOG_TYPE_FILE_PATTERN="access.log"
66
+ else
67
+ LOG_TYPE_FILE_PATTERN="*.log"
68
+ fi
69
70
+ for file in $(find "${goan_log_path}" -name "${LOG_TYPE_FILE_PATTERN}");
71
do
72
if [ -f $file ]
73
then
0 commit comments