Skip to content

Commit

Permalink
avoid missing or delayed logs (#2103)
Browse files Browse the repository at this point in the history
  • Loading branch information
henzigo committed Nov 19, 2020
1 parent 1fe3335 commit 180326a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project-base/docker/php-fpm/docker-php-entrypoint
Expand Up @@ -11,7 +11,7 @@ PIPE=/tmp/log-pipe
rm -rf $PIPE
mkfifo $PIPE
chmod 666 $PIPE
tail -n +1 -f $PIPE &
stdbuf -o0 tail -n +1 -f $PIPE &

# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
Expand Down
3 changes: 3 additions & 0 deletions upgrade/UPGRADE-v9.1.0-dev.md
Expand Up @@ -208,3 +208,6 @@ There you can find links to upgrade notes for other versions too.

- enable logging in tests ([#2113](https://github.com/shopsys/shopsys/pull/2113))
- see #project-base-diff to update your project

- avoid missing or delayed logs ([#2103](https://github.com/shopsys/shopsys/pull/2103))
- see #project-base-diff to update your project

0 comments on commit 180326a

Please sign in to comment.