Raised This Month: $12 Target: $400
 3% 

How to enable the debug logging?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fruchtzwerg
Member
Join Date: Dec 2004
Old 03-10-2012 , 14:42   How to enable the debug logging?
Reply With Quote #1

I want to debug a crashing plugin. I have tried to enable some debug infos, my settings:

amxxcfg:
amx_debug 2

core.ini:
amxx_logging 2
bin_logging 63
max_binlog_size 2000

Unfortunatly, the log files are still the same, the content didn't changed. How can I enable full debug trace?
__________________
Fruchtzwerg is offline
Baghi
Senior Member
Join Date: Mar 2012
Location: Asia Pacific
Old 03-10-2012 , 16:14   Re: How to enable the debug logging?
Reply With Quote #2

Add debug after plugin's name, something like this:
Code:
plugin.amxx debug
__________________
new signature
Baghi is offline
Fruchtzwerg
Member
Join Date: Dec 2004
Old 03-10-2012 , 16:38   Re: How to enable the debug logging?
Reply With Quote #3

This doesn't help. Even amx_debug is set to 2 (all plugins in debug mode).
__________________
Fruchtzwerg is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-10-2012 , 18:59   Re: How to enable the debug logging?
Reply With Quote #4

Quote:
Originally Posted by Fruchtzwerg View Post
This doesn't help. Even amx_debug is set to 2 (all plugins in debug mode).
It doesn't help what? Turning on debugging for a plugin doesn't fix it.

You only need to do as baghi said and then post both the error (make sure you get the whole error, get a few extra lines before and after) and a link to the plugin that contains the error.
__________________
fysiks is offline
Fruchtzwerg
Member
Join Date: Dec 2004
Old 03-11-2012 , 04:17   Re: How to enable the debug logging?
Reply With Quote #5

I don't get any additional debug information logged with these settings.

There is a comment about binary logging in the config file:

; Binary logging level
; add these up to get what you want
; these only work with bin logging binaries

Maybe I need "bin logging binaries". So I need some special binaries? Any download links?
__________________

Last edited by Fruchtzwerg; 03-11-2012 at 04:21.
Fruchtzwerg is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-11-2012 , 04:30   Re: How to enable the debug logging?
Reply With Quote #6

Quote:
Originally Posted by Fruchtzwerg View Post
I don't get any additional debug information logged with these settings.

There is a comment about binary logging in the config file:

; Binary logging level
; add these up to get what you want
; these only work with bin logging binaries

Maybe I need "bin logging binaries". So I need some special binaries? Any download links?
Where are you looking for this information? What kind of errors are you talking about? Post the errors here.
__________________
fysiks is offline
Fruchtzwerg
Member
Join Date: Dec 2004
Old 03-11-2012 , 04:44   Re: How to enable the debug logging?
Reply With Quote #7

This information comes from the core.ini. Currently, I can't say which errors happens, the plugin just crashes.
__________________
Fruchtzwerg is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-11-2012 , 12:46   Re: How to enable the debug logging?
Reply With Quote #8

Quote:
Originally Posted by Fruchtzwerg View Post
This information comes from the core.ini. Currently, I can't say which errors happens, the plugin just crashes.
core.ini is not a log file. Look in the error logs in addons/amxmodx/logs/
__________________
fysiks is offline
Fruchtzwerg
Member
Join Date: Dec 2004
Old 03-11-2012 , 16:55   Re: How to enable the debug logging?
Reply With Quote #9

core.ini is a config file to enable logging. The logs in addons/amxmodx/logs/ does not show additional logging besides the normal stuff. I would like to enable the binary logging described in core.ini
__________________
Fruchtzwerg is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-11-2012 , 16:57   Re: How to enable the debug logging?
Reply With Quote #10

What plugin is crashing? You have so far failed to tell us what plugin is of interest.
__________________
fysiks is offline
Reply



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:30.


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