hcportal-dev/custom-logging.conf
2025-08-12 08:48:46 +07:00

13 lines
260 B
Plaintext

# Disable access log
CustomLog /dev/null common
# Send error log to stderr
ErrorLog /proc/self/fd/2
# Set log level to warn to capture important issues
LogLevel warn
# Redirect PHP errors to stderr
php_flag log_errors on
php_value error_log /proc/self/fd/2