ODBC logging without common logging

Need new test, action, option? Post request here.
Post Reply
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

ODBC logging without common logging

Post by Marcus »

As far as I know it is still not possible to log test results to an odbc database, without enabling the common log (logging to disk). It would save a lot of resources to be able to log to a database server without logging the same data to a text file on disk.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may set "Maximum log size" option to 100 Kb.

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Which means the file will be recreated at least every 50 seconds (which again uses a lot of resources). Perhaps logging to a null device is an option??
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Actually you can disable logging (I didn't have time to think yesterday :oops:)
Just remove name of the log file (empty field).

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

It works great! Thanks again, but........

When opening the options dialog, it will not allow you to enter (or leave) an empty field for the log file, so you have to make the entries in the HostMon.ini file by hand for every setting you change, using the options dialog...... :cry:
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, just disable log:
- "Common log file" option -> "Log Disabled"
- "ODBC Log" option enabled

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

- "Common log file" option -> "Log Disabled"
I must have missed something. The last time I tried, this disabled the odbc logging :lol:

Thanks........
Post Reply