fbtracemgr: add ability to specity some params from command line rather than
updating trace config file
-------------------------------------------------------------------------------------------------------
Key: CORE-3784
URL: http://tracker.firebirdsql.org/browse/CORE-3784
Project: Firebird Core
Issue Type: New Feature
Components: TRACEMGR
Affects Versions: 2.5.1
Reporter: Pavel Zotov
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel