logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
ODBC logging

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
silvercloud



Joined: 07 Jan 2005
Posts: 3

PostPosted: Fri Jan 07, 2005 22:55    Post subject: ODBC logging Reply with quote

I'm wondering is there anyway to set ODBC logging? since it outputs too much when everything is going well, at least it does with the ingame CC.

I would like a setting (if its not already there) to only log errors, instead of also informantionals. I'd like to see the SQL errors, but i dont need to see the SQL commands or resultsets.

My logfile grew to 5 MB after two characters were created. I expect a normal load to probably exceed 50 mb per logfile (it clutters my disk and reduces performance).
Back to top
View user's profile Send private message
Makzimia De Graf



Joined: 31 Dec 2004
Posts: 55
Location: San Diego CA.

PostPosted: Fri Jan 07, 2005 23:03    Post subject: Reply with quote

Yes please!!! big log + nwnserver on same machine over 24 hrs even, gets to as much as 94MB, not a lot as far as having 2GB of RAM, but really not that necessary.
_________________
Makzimia De Graf

DM/Creator Island of Fredian
fredian.game-host.org:5123
Forums at http://castille.us/fredian/Forums
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Fri Jan 07, 2005 23:42    Post subject: Reply with quote

This is very high on my priority list. I would like to add two parameters to the odbc ini file:

1) Log level (none, error, full)
2) Log size (after that size has been reached, the file is cleared and the log starts again)
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Makzimia De Graf



Joined: 31 Dec 2004
Posts: 55
Location: San Diego CA.

PostPosted: Fri Jan 07, 2005 23:50    Post subject: Reply with quote

Good news!! been on my list of wants for it since WAY back! you guys made our PW's what they are with all this stuff. Thank you!
_________________
Makzimia De Graf

DM/Creator Island of Fredian
fredian.game-host.org:5123
Forums at http://castille.us/fredian/Forums
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sat Jan 08, 2005 10:21    Post subject: Reply with quote

Papillon, don't forget to look at the newest base class. It's best to implement it in there as than that functionality is available to all plugins. Just in the OnCreate open the configuration file and read in thelog setting. Then in the Log function you can check that.
Back to top
View user's profile Send private message Visit poster's website
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat Jan 08, 2005 16:58    Post subject: Reply with quote

Jeroen, I don't think you have submitted your changes to the repository yet.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group