Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread dbsrvr.log file increases too much!
Wed, Sep 6 2006 6:15 AMPermanent Link

Jacob
I have a C/S scenario, where I start dbsrvr.exe file from my app.

The app is supposed to be runnning for weeks, and it creates a lot of dynamic objects, starting sessions and closing them.

After several days, my dbsrvr.log file is very big. Is there a way to avoid the creation of this log file or force its deletion within my program?

Thanks for the support.

Regards.
Wed, Sep 6 2006 5:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jacob,

<< I have a C/S scenario, where I start dbsrvr.exe file from my app.

The app is supposed to be runnning for weeks, and it creates a lot of
dynamic objects, starting sessions and closing them.

After several days, my dbsrvr.log file is very big. Is there a way to avoid
the creation of this log file or force its deletion within my program? >>

You can modify the dbsrvr.dpr application in order to stop it from logging
altogether if you would like.  You simply need to remove the event handler
for the OnServerLogEvent.  Or, an alternative solution would be to modify it
to exclude the events that you're not interested in (non-errors, for
example).

You can find the dbsrvr.dpr project under the main DBISAM installation
directory in the \servers\dbsrvr\source subdirectory.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Sep 7 2006 10:52 AMPermanent Link

Jacob
Thanks for the info, that worked perfectly!!!

Regards.

Image