Issue Details (XML | Word | Printable)

Key: CORE-3784
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Pavel Zotov
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

fbtracemgr: add ability to specity some params from command line rather than updating trace config file

Created: 06/Mar/12 04:23 AM   Updated: 06/Mar/12 04:23 AM
Component/s: TRACEMGR
Affects Version/s: 2.5.1
Fix Version/s: None


 Description  « Hide
Often there is necessary to compare trace log files for different values of time_threshold.
Currently we have to change values of this parameter in trace.conf or create another .conf - this is inconveniently.

I think it will be very useful if we can specify some parameters just in command line, without updating trace.conf
For example, if:

$ grep "time" my_trace.conf
  time_threshold 0

and we issue:

fbtracemgr -se service_mgr -sta -c my_trace.conf -time_threshold 25

-- than only statements that last more than 25 ms will be logged.


Or if we have:

$ grep "<database" my_trcace.conf
<database (%[\\/](ttt%|zzz%|foo%).fdb)|(dbg%|boo%)>

and:

fbtracemgr -se service_mgr -sta -c my_trace.conf -fdb some_new_base.fdb
fbtracemgr -se service_mgr -sta -c my_trace.conf -alias some_new_alias

-- and we can (temply) trace activity for new database or alias that is NOT specified in my_trcace.conf

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.