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.
In 2.5.0 all internal errors thrown by the trace plugin itself are logged at firebird.log. For example, when trace configuration contains regular expression in wrong syntax, wrong element, etc.
While this is OK for system audit it is not user-friendly (and even not necessary) for user trace sessions.
Improvement is to put such errors into trace output and not into firebird.log whenever possible.
Test Details: Implemented for execution on Windows only.
1) This test uses async. calls of external routine (fbsvcmgr) with opening it in separate command window,
see: subprocess.call('start /min cmd /c ...', shell=True).
2) It was encountered that launching trace session by FBSVCMGR requires 1-2 seconds to be finished,
so this test intentionally uses delay (see calls `time.sleep()`).
3) Format of `database` section differ in 2.5 vs 3.0, so two separate sections have been created here for each FB version.
4) Correct work was checked on: WI-V2.5.5.26914 (SS, SC) and WI-V3.0.0.31940 (SS, SC and CS).
Test Specifics: [Platform (Windows/Linux) specific]
Test Details: Implemented for execution on Windows only.
1) This test uses async. calls of external routine (fbsvcmgr) with opening it in separate command window,
see: subprocess.call('start /min cmd /c ...', shell=True).
2) It was encountered that launching trace session by FBSVCMGR requires 1-2 seconds to be finished,
so this test intentionally uses delay (see calls `time.sleep()`).
3) Format of `database` section differ in 2.5 vs 3.0, so two separate sections have been created here for each FB version.
4) Correct work was checked on: WI-V2.5.5.26914 (SS, SC) and WI-V3.0.0.31940 (SS, SC and CS).
=>
Test Specifics: [Platform (Windows/Linux) specific] =>
Submitted by: @hvlad
In 2.5.0 all internal errors thrown by the trace plugin itself are logged at firebird.log. For example, when trace configuration contains regular expression in wrong syntax, wrong element, etc.
While this is OK for system audit it is not user-friendly (and even not necessary) for user trace sessions.
Improvement is to put such errors into trace output and not into firebird.log whenever possible.
Commits: 54221b3 ad6033e 39ab4e7 4290ac6
The text was updated successfully, but these errors were encountered: