Page 1 of 1

dbMonitor - limit to certain connections

Posted: Wed 25 Jan 2017 14:40
by chkaufmann
Hi,

I try to limit the connections that log to dbMonitor. I found this in the helpfile:
"set to True the Debug property for components you want to trace;"

So for my understanding, only components with Debug=True should generate log entries. But this doesn't work and evrywhere in the code I find "MonitorClass.HasMonitor or Debug".
Did I missunderstand something? Is the only way to filter by connection to click in the "Object Tree" in dbMonitor? Unfortunately the whole log is deleted in this case.

cu Christian

Re: dbMonitor - limit to certain connections

Posted: Thu 26 Jan 2017 09:46
by AlexP
Hello,

The Debug components property is responsible for displaying the window with executed query, procedure, etc. and does not affect the display in dbMonitor. You can filter necessary components only in dbMonitor.

Re: dbMonitor - limit to certain connections

Posted: Thu 31 Oct 2019 09:24
by chkaufmann
I just run into this problem again. I use it in a service application where I have many connections and it's not always easy to find the correct one in dbMonitor. So it would be helpfull to have another boolean flag on each object to turn monitor messages on and off.

Christian

Re: dbMonitor - limit to certain connections

Posted: Wed 27 Nov 2019 12:55
by ViktorV
If you want us to implement the feature, please post this suggestion at our user voice forum: https://devart.uservoice.com/forums/104 ... omponents/ If the suggestion gets a lot of votes, we will consider the possibility to implement it.