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

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -