Project

General

Profile

Actions

Feature #894

open

Cannot enable channel for JUL (-j) or Log4j (-l) domains

Added by Anonymous about 7 years ago. Updated almost 7 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/21/2015
Due date:
% Done:

0%

Estimated time:

Description

The lttng enable-event command allows -j or -l flags, to enable events for the JUL and Log4j domains respectively. However, the lttng enable-channel command does not allow these flags. Interestingly, the "missing domain" error message mentions the -j flag, but it does not actually work:

$ lttng enable-channel MyChannel
Error: Please specify a domain (-k/-u/-j).
Error: Command error
$ lttng enable-channel MyChannel -j
usage: lttng enable-channel NAME[,NAME2,...] (-u | -k) [OPTIONS]
...
Actions

Also available in: Atom PDF