php - Apache + mod_php how to manually log error? -
i have apache 2.4 , php 5.6 module. there way send custom error current 'errorlog' file? 'errorlog' directive depends on time (daily logs). , have specific requirements:
- i cant call
trigger_error
function (error message should not displayed, logged); - i cant use
display_errors
none
value - i cant use @ operator
any variants?
any language let write stderr. stderr redirected base servers errorlog. try fprintf.
Comments
Post a Comment