Last active
July 18, 2026 04:08
-
-
Save szepeviktor/ae9a1e2cf81538d0ed6a11e52f9449ce to your computer and use it in GitHub Desktop.
PHP-FPM: Suppress the normal "Reopening PHP FastCGI Process Manager logs" message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/lsb-base-logging.sh | |
| log_daemon_msg_pre() | |
| { | |
| # Suppress the normal "Reopening PHP FastCGI Process Manager logs" message | |
| case "${1:-}:${2:-}" in | |
| Reopening*logs:php-fpm*) | |
| /usr/bin/logger -p daemon.notice -t "$2" -- "$1" | |
| exec >/dev/null | |
| ;; | |
| esac | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment