Skip to content

Error while parsing trace configuration with 2 sections #8426

Closed
@Noremos

Description

@Noremos

I have the following configuration in fbtrace.conf:

database = /var/primary-db.fdb  
{  
  enabled = true  
  log_errors = true  
}  

database = /var/secondary.fdb  
{  
  enabled = true  
  log_connections = true  
}  

database  
{  
  enabled = true  
}  

It works fine when connecting to primary-db.fdb. However, the error appears when connecting to secondary.fdb or any other database.

art  Mon Feb  3 10:19:12 2025
  Trace plugin fbtrace returned error on call trace_create.
  error while parsing trace configuration
  line 1: error while compiling regular expression "/tmp/primary-db.fdb"

The Firebird configuration:
AuditTraceConfigFile = fbtrace.conf

I think this is unclear behavior because the trace works all the time but suddenly stops working when connecting to another database.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions