Reputation: 3038
Where should I look to see the default logback properties, e.g. user.home?
It is great that I can use external file, System and environment to load properties, but are there any out-of-box ones?
Upvotes: 3
Views: 2028
Reputation: 26910
user.home
is not logback specific, they come from java.
See http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
Upvotes: 3
Reputation: 32407
user.home
is a Java system property, not a logback property. You can see the rest of them with System.out.println(System.getProperties());
or using JConsole on a running JVM.
Apart from that, I think there are only HOSTNAME
and CONTEXT_NAME
defined by Logback: http://logback.qos.ch/manual/configuration.html#variableSubstitution
Upvotes: 4