Hello,

2 short questions respectively feature requests for formating errorlogs.

In .htaccess i use logging-directives:

php_flag log_errors on
php_value error_log /abs/path/file.txt

For normal server it is enough, but within cluster-setup i cant detect which Server is having a problem because hostname does not appear in error-logline. We have multiple webservers behind loadbalancer logging into same folders mounted by nfs. I cant detect which server was writing the line unless i use different paths in .htaccess which is not easy because also this .htaccess is served by nfs. Do you see a possibility to show hostname in simple errorlog?

2nd question is: just as a user is using his own personal error_log directive within .htaccess, loglines are logged to this personal errorlog only but not in generaly errorlog of apacheserver any more. It would be nice if errors always are logged in general error-log regardless of personal settings of users. This may have a potential of redundancy, but it should be impossible to lose loglines respectively i cant always check for personal settings if i analyze a problem.

Thanks,
Hajo



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to