View previous topic :: View next topic |
Author |
Message |
silvercloud
Joined: 07 Jan 2005 Posts: 3
|
Posted: Fri Jan 07, 2005 22:55 Post subject: ODBC logging |
|
|
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 |
|
|
Makzimia De Graf
Joined: 31 Dec 2004 Posts: 55 Location: San Diego CA.
|
Posted: Fri Jan 07, 2005 23:03 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Fri Jan 07, 2005 23:42 Post subject: |
|
|
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 |
|
|
Makzimia De Graf
Joined: 31 Dec 2004 Posts: 55 Location: San Diego CA.
|
Posted: Fri Jan 07, 2005 23:50 Post subject: |
|
|
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 |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Sat Jan 08, 2005 10:21 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sat Jan 08, 2005 16:58 Post subject: |
|
|
Jeroen, I don't think you have submitted your changes to the repository yet. _________________ Papillon |
|
Back to top |
|
|
|