domain: add Python domain to list
[lttng-docs.git] / contents / using-lttng / instrumenting / java-application / intro.md
CommitLineData
215610eb
PP
1---
2id: java-application
86384750 3since: 2.4
215610eb
PP
4---
5
6LTTng-UST provides a _logging_ back-end for Java applications using
7either
8<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html" class="ext"><code>java.util.logging</code></a>
9(JUL) or
10<a href="http://logging.apache.org/log4j/1.2/" class="ext">Apache log4j 1.2</a>.
11This back-end is called the _LTTng-UST Java agent_, and it is responsible
12for the communications with an LTTng session daemon.
13
14From the user's point of view, once the LTTng-UST Java agent has been
15initialized, JUL and log4j loggers may be created and used as usual.
16The agent adds its own handler to the _root logger_, so that all
17loggers may generate LTTng events with no effort.
18
19Common JUL/log4j features are supported using the `lttng` tool
20(see [Controlling tracing](#doc-controlling-tracing)):
21
22 * listing all logger names
23 * enabling/disabling events per logger name
24 * JUL/log4j log levels
This page took 0.023686 seconds and 4 git commands to generate.