projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Mismatching code and console output in log4j example
[lttng-ust.git]
/
doc
/
examples
/
java-log4j
/
Hello.java
diff --git
a/doc/examples/java-log4j/Hello.java
b/doc/examples/java-log4j/Hello.java
index a0105adf7199b1a67144e7788066d05ba4269d02..083ec12ab32953dd0618bff46a69bbfec067a4c3 100644
(file)
--- a/
doc/examples/java-log4j/Hello.java
+++ b/
doc/examples/java-log4j/Hello.java
@@
-48,7
+48,7
@@
public class Hello
/* Trigger a tracing event using the JUL Logger created before. */
helloLog.info("Hello World, the answer is " + answer);
/* Trigger a tracing event using the JUL Logger created before. */
helloLog.info("Hello World, the answer is " + answer);
- System.out.println("Firing hello delay in
10
seconds...");
+ System.out.println("Firing hello delay in
5
seconds...");
Thread.sleep(5000);
helloLog.info("Hello World delayed...");
}
Thread.sleep(5000);
helloLog.info("Hello World delayed...");
}
This page took
0.023558 seconds
and
4
git commands to generate.