You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend syntax of <service> section of trace configuration and make it the same as for <database> section.
I.e. allow <service [pattern]> syntax, where optional "pattern" is matched against name of service, such as "Backup Database", "Repair Database" etc.
Full list of currently used names already present in svc.spp and should be part of sample fbtrace.conf file.
Unfortunately, proposed way to configure individual service is not possible with current implementation. The problem is that configuration passed to the trace plugin only at time when service attachment is created and at this time service task name is not known. It will known at time when service will start. Also note that same service attachment is able to run another task when current task is finished.
Therefore i implemented another, less elegant but also useful way to configure which services should be traced (or not traced). Now "include_filter" and "exclude_filter" regular expressions also allowed in <services> section and when some service task is started (or queried) its name is matched agains this filters to determine if corresponding event should be logged.
Submitted by: @hvlad
Extend syntax of <service> section of trace configuration and make it the same as for <database> section.
I.e. allow <service [pattern]> syntax, where optional "pattern" is matched against name of service, such as "Backup Database", "Repair Database" etc.
Full list of currently used names already present in svc.spp and should be part of sample fbtrace.conf file.
Commits: 950bcd8 0335e1c
The text was updated successfully, but these errors were encountered: