Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while parsing trace configuration with 2 sections #8426

Open
Noremos opened this issue Feb 3, 2025 · 1 comment
Open

Error while parsing trace configuration with 2 sections #8426

Noremos opened this issue Feb 3, 2025 · 1 comment

Comments

@Noremos
Copy link
Contributor

Noremos commented Feb 3, 2025

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.

@Noremos
Copy link
Contributor Author

Noremos commented Feb 3, 2025

I suggest a possible solution: #8427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant