View Single Post
Author Message
VEN
Veteran Member
Join Date: Jan 2005
Old 01-15-2007 , 07:00   [REQ] write error messages for failed plugins into error_*.log
#1

When executing "amxx plugins" server console command we able to see the errors like shown below:
Code:
(PID) Load fails: Plugin file open error (plugin "PluginName.amxx")
(PID) Load fails: Plugin uses an unknown function (name "FunctionName") - check your modules.ini.
(PID) Load fails: Module/Library "ModuleName" required for plugin.  Check modules.ini.
It would be useful to write such errors into error_*.log file instead of general amxx logs:
Code:
L XX/XX/XXXX - XX:XX:XX: [AMXX] Plugin file open error (plugin "PluginName.amxx")
L XX/XX/XXXX - XX:XX:XX: [AMXX] Plugin "PluginName.amxx" failed to load: Plugin uses an unknown function (name "FunctionName") - check your modules.ini.
L XX/XX/XXXX - XX:XX:XX: [AMXX] Plugin "PluginName.amxx" failed to load: Module/Library "ModuleName" required for plugin.  Check modules.ini.
There it is not that useful because users firstly will look into error_*.log if they suspecting an error.

Also it would be useful if "amx_plugins" console command could output such errors as well.

What do you think?

Last edited by VEN; 02-11-2007 at 05:06. Reason: improved
VEN is offline