|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
_______________________________________________ logback-dev mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-dev

First of all, the feature to define JNDI entries as variables in configuration files is really great!
I agree, the suggested attributes (optional and default value) would be really helpful. The problem is that no one can say for sure if a JNDI entry is optional or mandatory when observing the occuring error in a log file. In our company we have to rely on documentation or defining even optional JNDI entries on production stages as mandatory for now to prevent error messages. We use Logback 1.0.13 with SLF4J as logging facade.
To simulate a default value for variables read from JNDI on a single point in the configuration file we do the following (I hope this is as intended):