vB5 Manual and API Documentation
Forums API Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Error Handling & Logging

Log Database Errors to a File

If you would like to log all database errors to a file, enter the path to the file here. The file will be saved as {filename}.log.

Errors connecting to the database server will not be logged.

Please note that the directory in which this file is to be created must be writable by the web server.

  • Variable Name: errorlogdatabase
  • Data Type: free
  • Default Value:

Log Failed Admin Control Panel Logins to a File

If you would like to log all failed Admin Control Panel login attempts to a file, enter the path to the file here. The file will be saved as {filename}.log

Please note that the directory in which this file is to be created must be writable by the web server.

  • Variable Name: errorlogsecurity
  • Data Type: free
  • Default Value:

Log PHP Errors to a File

If you would like to log all PHP fatal errors to a file, enter the path to the file here. The file will be saved as {filename}.log.

Please note that the directory in which this file is to be created must be writable by the web server.

  • Variable Name: errorlogphp
  • Data Type: free
  • Default Value:

Log Emails to a File

If you would like to log all emails to a file, enter the path to the file here. The file will be saved as {filename}.log. You should only enable email logging if you suspect problems with the email system within vBulletin.

Please note that the directory in which this file is to be created must be writable by the web server.

  • Variable Name: errorlogemail
  • Data Type: free
  • Default Value:

Maximum File Size of Error Logs

If you would like your vBulletin error logs to be rotated when they reach a certain size, enter the maximum file-size in bytes here.
1048576 bytes = 1 megabyte.

When a log file reaches this size, it will be renamed as {filename}{unix timestamp}.log and a new file will be created.

Set this value to 0 to disable log rotation.

  • Variable Name: errorlogmaxsize
  • Data Type: number
  • Default Value: 1048576

updated: 2022-08-29 09:50am | Version: 5.7.0 Alpha 4