I'm trying to modify a logging.properties file that uses the java SimpleFormatter.
I can set the
java.util.logging.SimpleFormatter.format = ""
property, but I can't find documentation on what you can put in it.
I've found several examples, but NONE of them tell me what the possibilities are.
They just say that "%4$s: %5$s [%1$tc]%n" does such-and-such.
I'm hoping that some docs exist somewhere.
Start with the API docs. The docs for java.util.logging.SimpleFormatter#format() give a link to java.util.Formatter which has detailed information about formatting syntax in Java. (In other words, I'm repeating the comment from @HovercraftFullOfEels.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With