How to get more info in error log?

#1
hi, i am trying to get more error log info for a virtualhost domain... i already set the virtualhost log to use server log file and when i have a php errors i can see them in the server log viewer.

eg: [172.xx.245.1xx:15444#domain.com] [STDERR] PHP Notice: Undefined variable: myvar in /usr/local/lsws/domain.com/page/index.php on line 17

i saw in the access log setup we can select refferer, user agent, host but i have selected all of then and when i got errors i always have the same error notice format..

is it possible to get get the requested host url in the error??

eg : "[172.xx.245.1xx:15444#domain.com] [STDERR] PHP Notice: Undefined variable: myvar in /usr/local/lsws/domain.com/page/index.php on line 17 requrl: https://domain.com/index.php"

did i missed some??
thanks
 
Last edited:

Pong

Administrator
Staff member
#4
This is PHP code issue, nothing to do with web server and it is beyond our support. You can check with PHP programmer forum.
 
Top