Skip to content

exclude_filter doesn't work for <services></section> section of the Trace facility [CORE3168] #3543

@firebird-automations

Description

@firebird-automations

Submitted by: Thomas Steinmaurer (tsteinmaurer)

I have the following trace config:

<services>
enabled true
log_services true
exclude_filter "List Trace Sessions"
</services>

Although I've set the exclude filter (also tried without enclosed double quotes), I do get entries like that:

2010-10-07T11:39:12.3090 (1856:0148D0A4) START_SERVICE
service_mgr, (Service 012B6A94, SYSDBA, TCPv4:192.168.142.1,
G:\APPLICAT\FBTraceManager\exe\debug\FBTraceManager.exe:5132)
"List Trace Sessions"
-TRUSTED_SVC SYSDBA -LIST

2010-10-07T11:39:17.3250 (1856:0148D0A4) START_SERVICE
service_mgr, (Service 012B6A94, SYSDBA, TCPv4:192.168.142.1,
G:\APPLICAT\FBTraceManager\exe\debug\FBTraceManager.exe:5132)
"List Trace Sessions"
-TRUSTED_SVC SYSDBA -LIST

I've also tried the following exclude_filter which should dismiss all trace service events:

exclude_filter %Trace%

Running the following SIMILAR TO based query:

select 1 from rdb$database where 'Start Trace Session' similar to '%Trace%'

shows, that the result of the WHERE condition is true, thus fulfills the regular expression, so there is something wrong when evaluating the exclude_filter in the trace facility.

Commits: b48913d 905427a

====== Test Details ======

Test implemented for WINDOWS platform only, checked on WI-V2.5.5.26916 (SS, SC) and WI-V3.0.0.31948 (SS, SC, CS).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions