PDA

View Full Version : Error log file: Path?


stefan_iv
Fri 21st Mar '08, 5:05pm
Hi,

i donīt want to get any error message via email, so i tried to switch on logging error in a simple log file.

I found that setting in the vbulletin options, error handling.

But one question: Should i use the full path means:

/var/www/....

or only /logs -> which is located in the root directory of my vbulletin.

Thanks very much!

BTW: What file rights should i use? 755 oder 777 for the folder?

steve

Jose Amaral Rego
Fri 21st Mar '08, 8:07pm
You can view how to do this by clicking of the help icon to the right (ltr-view).
http://your_domain_name/admincp/help.php?s=&do=answer&page=options&pageaction=options&option=errorlogphp

Log Database Errors to File

Enter a full server path. You might want to record database errors to a file if you chose not to have them emailed to you.

Log Failed Admin Control Panel Logins to File

Enter a full server path. Recording failed Admin CP logins is useful for knowing when some one is trying to hack into your forums.



Log PHP Warnings to a File

Enter a path here. For example, on a Windows server the path might be something like:

C:\logs\vbulletin.log

Or on a *nix server it might be something like:

/home/yoursite/logs/vbulletin.log


Log Emails to a File

Enter a path here. For example, on a Windows server the path might be something like:

C:\logs\vbulletin.log

Or on a *nix server it might be something like:

/home/yoursite/logs/vbulletin.log

This option should only be enabled to troubleshoot email issues. Your server performance can decrease while this option is enabled.