We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62cbc5 commit ac1b166Copy full SHA for ac1b166
1 file changed
bin/entrypoint.sh
@@ -120,5 +120,11 @@ if ! [ -z "${APP_PATH}" ]; then
120
-e "s:\(RewriteRule .*\) /Web/:\1 /${APP_PATH}/Web/:"
121
fi
122
123
+# Send log files to /dev/stdout as background jobs
124
+touch "${LB_LOGGING_FOLDER}/app.log"
125
+tail --follow "${LB_LOGGING_FOLDER}/app.log" >> /dev/stdout &
126
+touch "${LB_LOGGING_FOLDER}/sql.log"
127
+tail --follow "${LB_LOGGING_FOLDER}/sql.log" >> /dev/stdout &
128
+
129
# Switch to the apache server
130
exec "$@"
0 commit comments