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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -