![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.0.13 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-classic, logback-core |
|
Created:
|
13/Nov/13 2:19 PM
|
|
Description:
|
I am trying to use Janino condition to instantiate default Logback SMTP appender if and only if javax.mail is present is application classpath. Here is my simple config file for that purposes:
There is no convenient way to write JAVAX_MAIL_EXISTS_IN_CLASSPATH state to sysout, so I am using an additional ConsoleAppender and '-Dlogback.debug=true' option to see value of my JAVAX_MAIL_EXISTS_IN_CLASSPATH variable.
It is always false, regardless if javax.mail jar exist in classpath, or not.
My environment is: Ubuntu 12.04, logback classic/core 1.0.13, Janino 2.6.1, javax.mail 1.4.
|
|
Environment:
|
Ubuntu 12.04, logback classic/core 1.0.13, janino 2.6.1, javax.mail 1.4
|
|
Project:
|
logback
|
|
Priority:
|
Major
|
|
Reporter:
|
Daniil Yaroslavtsev
|
|
|
|
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