Raised This Month: $32 Target: $400
 8% 

[REQ] write error messages for failed plugins into error_*.log


  
 
 
Thread Tools Display Modes
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
BAILOPAN
Join Date: Jan 2004
Old 01-15-2007 , 13:11   Re: [REQ] write error messages for failed plugins into error_*.log
#2

amx_plugins doesn't have access to the data that amxx plugins does.

I agree that these should be going through the error logs.
__________________
egg
BAILOPAN is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 02-19-2007 , 03:47   Re: [REQ] write error messages for failed plugins into error_*.log
#3

Fixed in revision 3339
sawce is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode