Subject Re: [firebird-python] Problem with tracing and FDB
Author Harriv
1. Ok, got it :)

2. Data arrives immediately - after I have stopped tracing with tracex.

If I run this configuration with fbtracemgr:

<database MYDATABASENAME>
   enabled true
   log_statement_finish true
   print_plan true
   include_filter %%SELECT%%
   exclude_filter %%RDB$%%
   time_threshold 0
   max_sql_length 2048
</database>

Output is printed immediately.



On Thu, Oct 24, 2013 at 3:28 PM, Pavel Cisar <pcisar@...> wrote:


Dne 24.10.2013 13:03, Harriv napsal(a):
>
>
> Indentation is lost in that code, but if I read that correctly, it works
> exactly the same as now. No data arrives until trace is stopped?

1. Indentation was lost only if you don't use good e-mail client. For
example it was preserved in my Thunderbird (plain text view).

2. Data arrive immediatelly once there are any at server. If you don't
see any returned although you generated events at server that should be
reported, then you have bad trace configuration, i.e. check your config
spec with fbtracemgr, if it also doesn't report anything, then your
config is wrong (<database> without db spec at least as wildcard is
probably the culprit). If fbtracemgr returns trace output but your code
doesn't, then problem is in your code. I've used FDB for trace many
times without any problem, so there shouldn't be any issue with FDB or
Firebird.

best regards
Pavel Cisar
IBPhoenix


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-python/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-python/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-python-digest@yahoogroups.com
    firebird-python-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-python-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://info.yahoo.com/legal/us/yahoo/utos/terms/