title: How to use Firebird audit and trace services with Python?
body: <p>I'm trying to use audit and trace services with Firebird 2.5, Python 2.7 and FDB 1.4.</p>
  
  <p>This is what I'm doing in Idle:</p>
  
  <pre><code>&gt;&gt;&gt; import fdb
  &gt;&gt;&gt; svc = fdb.services.connect(password='masterkey', host='localhost')
  &gt;&gt;&gt; trace_config = """&lt;database&gt;
  enabled true
  log_connections true
  log_transactions true
  log_statement_finish true
  time_threshold 0
  
  &lt;/database&gt;"""
  &gt;&gt;&gt; trace_id = svc.trace_start(trace_config, 'test_trace_2')
  &gt;&gt;&gt; svc.readline()
  </code></pre>
  
  <p>After this I'm connecting to database and doing some selects etc, but readline never returns.</p>
  
  <p>Am I missing a step somewhere?</p>