-
1. Re: Log4j 1 and 2 Teiid Logger implementations
shawkins Sep 20, 2015 7:40 PM (in response to gary.gregory)> I see inLogging in Teiid that Teiid supports Log4j 1 but I do not see this Logger implemetation in Teiid Embedded.
That is correct the log4j support is indirect through JBoss Logging in AS/EAP. Another option is to enable JBoss Logging in Teiid embedded, but use the target logging framework of choice.
> Is this something the Teiid project is interested in? Just like any other dependency, dependency on Log4j is optional until you actually use these classes.
Yes we can certainly take a look at what you have.
-
2. Re: Log4j 1 and 2 Teiid Logger implementations
shawkins Sep 23, 2015 9:58 AM (in response to shawkins)> Another option is to enable JBoss Logging in Teiid embedded, but use the target logging framework of choice.
To expand on that we don't currently provide the JBossLogger in embedded, but the engine already has a dependency on JBoss Logging so we could easily add it.
-
3. Re: Log4j 1 and 2 Teiid Logger implementations
gary.gregory Sep 24, 2015 3:21 PM (in response to shawkins) -
4. Re: Log4j 1 and 2 Teiid Logger implementations
shawkins Sep 25, 2015 3:40 PM (in response to gary.gregory)Thanks Gary. We're going to look things over and see whether it makes sense to pull in these changes or just promote the usage of JBoss Logging. It doesn't look like our version 3.1.4 of JBoss Logging has something explicit for Log4j 2, but it was added for 3.2 - [JBLOGGING-95] Add first-class support for Log4j 2 by beamerblvd · Pull Request #9 · jboss-logging/jboss-logging · GitHu…