Skip to content

Add plugins option support for TRACE_START and TRACE_LIST#68

Open
Noremos wants to merge 3 commits intoFirebirdSQL:masterfrom
Noremos:master_tracemgr_plugins
Open

Add plugins option support for TRACE_START and TRACE_LIST#68
Noremos wants to merge 3 commits intoFirebirdSQL:masterfrom
Noremos:master_tracemgr_plugins

Conversation

@Noremos
Copy link
Copy Markdown

@Noremos Noremos commented Apr 20, 2026

Add support for the plugin option for user trace session (introduced in the FirebirdSQL/firebird#8707 )

This should solve #55

Examples:

with connect_server('', user='SYSDBA', password='masterkey') as srv:
    trace_session_id = srv.trace.start(config="database\n{\nenabled = true\n}", name="mytrace", plugins=["myplugin","fbtrace"])
    print(trace_session_id)
with connect_server('', user='SYSDBA', password='masterkey') as srv:
    for k,v in srv.trace.sessions.items():
        if v.flags[0] == 'active':
            print(f"Trace {v.name}: Plugins: {v.plugins}")

@Noremos Noremos changed the title Add plugin parsing to tracemgr output Add plugins option support for TRACE_START and TRACE_LIST Apr 22, 2026
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

Successfully merging this pull request may close these issues.

1 participant