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
Trace configuration allows to specify file names in two places:
a) at "database" section header as file name pattern
b) at "log_filename" parameter, used to specify file name for audit log
Double quotes works as expected, the issue is about single quoted values.
When trace session with such configuration is active and user attached to some database,
the following happens:
In the case (a) error is reported:
Error creating trace session for database "DBNAME":
error while parsing trace configuration
line 15: error while compiling regular expression "'PATTERN'"
where DBNAME is the database name from connection string and 'PATTERN' is database pattern from trace configuration.
Error is reported via trace log (in case of user trace session) or firebird.log (in case of audit trace session).
In the case (b) the audit log file is not created and error is not logged (it will be adressed in separate ticket).
Test Details: Name of log for audit can not be tested: FB instance must be restarted in this case.
Checked issues related only to name of database file.
Submitted by: @hvlad
Trace configuration allows to specify file names in two places:
a) at "database" section header as file name pattern
b) at "log_filename" parameter, used to specify file name for audit log
Double quotes works as expected, the issue is about single quoted values.
When trace session with such configuration is active and user attached to some database,
the following happens:
In the case (a) error is reported:
Error creating trace session for database "DBNAME":
error while parsing trace configuration
line 15: error while compiling regular expression "'PATTERN'"
where DBNAME is the database name from connection string and 'PATTERN' is database pattern from trace configuration.
Error is reported via trace log (in case of user trace session) or firebird.log (in case of audit trace session).
In the case (b) the audit log file is not created and error is not logged (it will be adressed in separate ticket).
Commits: 15e6315 c6e0b9c
====== Test Details ======
Name of log for audit can not be tested: FB instance must be restarted in this case.
Checked issues related only to name of database file.
The text was updated successfully, but these errors were encountered: