Subject | Problem with tracing and FDB |
---|---|
Author | Harriv |
Post date | 2013-10-23T18:30:01Z |
Hi,
I tried to get trace log from Python application, but haven't yet succeeded. I'm using Python 2.7, Firebird 2.5.2 and FDB 1.4. This is what I tried:
>>> import fdb
>>> svc = fdb.services.connect(password='masterkey', host='localhost')
>>> trace_config = """<database>
enabled true
log_connections true
log_transactions true
log_statement_finish true
time_threshold 0
</database>"""
>>> trace_id = svc.trace_start(trace_config, 'test_trace_2')
>>> svc.readline()
Program stops there, svc.readline never returns and I have to kil Python shell. Am I missing something or where do I go wrong?