Skip to content

Commit 4cae820

Browse files
committed
add missing exception to log messages
1 parent 935e235 commit 4cae820

File tree

1 file changed

+1
-1
lines changed
  • jmx-scraper/src/main/java/io/opentelemetry/contrib/jmxscraper

1 file changed

+1
-1
lines changed

jmx-scraper/src/main/java/io/opentelemetry/contrib/jmxscraper/JmxScraper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class JmxScraper {
5252
public static void main(String[] args) {
5353

5454
// set log format
55-
System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tF %1$tT %4$s %5$s%n");
55+
System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tF %1$tT %4$s %5$s %6$s%n");
5656

5757
List<String> effectiveArgs = new ArrayList<>(Arrays.asList(args));
5858
boolean testMode = effectiveArgs.remove(TEST_ARG);

0 commit comments

Comments
 (0)