[ 
http://tracker.firebirdsql.org/browse/CORE-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vlad Khorsun reopened CORE-4876:
--------------------------------

      Assignee: Vlad Khorsun

Sorry, i don't saw error in fbsvcmgr help screen.
Re-opened to fix it.

> Named trace session (launched by fbsvcmgr with non-empty value for 'trc_name' 
>  parameter) can not be stopped using its name
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CORE-4876
>                 URL: http://tracker.firebirdsql.org/browse/CORE-4876
>             Project: Firebird Core
>          Issue Type: Bug
>          Components: SVCMGR
>            Reporter: Pavel Zotov
>            Assignee: Vlad Khorsun
>
> From the output of 'fbsvcmgr -?' one may see:
> . . .
> action_trace_stop:
>     trc_name [string value]
>     trc_id [numeric value]
> . . .
> But it seems that we can`t specify key-value pair like 'trc_name 
> <my_trace_session>' in order to STOP previously launched trace.
> Following is what I did in cmd.exe having prepared trivial config for trace 
> ('tmp_trace.cfg'):
> Step #1
> C:\...> start fbsvcmgr localhost:service_mgr user SYSDBA password masterkey 
> action_trace_start trc_cfg .\tmp_trace.cfg  trc_name my_favorite_trace_ssn_01
> // OK, new window will be opened with launched trace session
> Step #2
> C:\...> fbsvcmgr localhost:service_mgr user SYSDBA password masterkey 
> action_trace_list
> /*
> Output:
> Session ID: 2
>   name:  my_favorite_trace_ssn_01
>   user:
>   date:  2015-07-15 15:28:52
>   flags: active, trace
> */
> Step #3
> C:\...> fbsvcmgr localhost:service_mgr user SYSDBA password masterkey 
> action_trace_stop my_favorite_trace_ssn_01
> Error: parameter "NAME" is incompatible with action "STOP"
> So, either this option should be excluded from output of fbsvcmgr (and this 
> will be really BAD!) or `action_trace_stop` should be pretty clever to stop 
> trace sessions by their names (and I'm strongly voting for 2nd case :)).

-- 
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

        

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to