Were you guys still interested in adopting Log4j2 for your logging system?
Back at ApacheCon, I spoke with a couple of you, and you were interested in switching to Log4j2 for your logging system. We're most likely going to be releasing 2.0 GA within a month or so, and it would be nice to get the OSGi stuff working right for then. Integration with an OSGi framework/tool like Karaf seems like a great way to make that happen! I've also began using Karaf at work about a month ago, so it'd be nice to learn more about the internals regardless. -- Matt Sicker
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi Matt, I started to work on the log4j2 support in Pax Logging (so in Karaf): https://ops4j1.jira.com/browse/PAXLOGGING-145 I updated dependencies for the next Pax Logging version. I plan to complete log4j2 support next week. Regards JB On 05/28/2014 01:03 AM, Matt Sicker wrote: Back at ApacheCon, I spoke with a couple of you, and you were interested in switching to Log4j2 for your logging system. We're most likely going to be releasing 2.0 GA within a month or so, and it would be nice to get the OSGi stuff working right for then. Integration with an OSGi framework/tool like Karaf seems like a great way to make that happen! I've also began using Karaf at work about a month ago, so it'd be nice to learn more about the internals regardless. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Oh neat. Well, if you find any problems with the OSGi support, please let us know! On 27 May 2014 23:50, Jean-Baptiste Onofré wrote: > Hi Matt, > > I started to work on the log4j2 support in Pax Logging (so in Karaf): > > https://ops4j1.jira.com/browse/PAXLOGGING-145 > > I updated dependencies for the next Pax Logging version. I plan to > complete log4j2 support next week. > > Regards > JB > > > On 05/28/2014 01:03 AM, Matt Sicker wrote: > >> Back at ApacheCon, I spoke with a couple of you, and you were interested >> in >> switching to Log4j2 for your logging system. We're most likely going to be >> releasing 2.0 GA within a month or so, and it would be nice to get the >> OSGi >> stuff working right for then. Integration with an OSGi framework/tool like >> Karaf seems like a great way to make that happen! >> >> I've also began using Karaf at work about a month ago, so it'd be nice to >> learn more about the internals regardless. >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Matt Sicker
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi JB, This is great! Do you think log4j 2.0 support may get into a Karaf 3.x release...or would this need to wait for karaf 4? thanks in advance, Gareth -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4033328.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi Gareth, I plan to release Pax Logging 1.7.3 with log4j2 support, and use this version in Karaf 3.0.0 and master (next 4.0.0 release). Regards JB On 05/29/2014 08:10 PM, Gareth wrote: Hi JB, This is great! Do you think log4j 2.0 support may get into a Karaf 3.x release...or would this need to wait for karaf 4? thanks in advance, Gareth -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4033328.html Sent from the Karaf - Dev mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi JB, Where we are on karaf with log4j2 support? Any updates? In which version of karaf we can expect log4j2 support? Thanks, Honey Goyal -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038161.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi Honey, It's done (Pax Logging 1.8.x) and included in Karaf 3.0.3. Regards JB On 01/31/2015 09:44 AM, Honey Goyal wrote: Hi JB, Where we are on karaf with log4j2 support? Any updates? In which version of karaf we can expect log4j2 support? Thanks, Honey Goyal -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038161.html Sent from the Karaf - Dev mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Thank You JB. I downloaded karaf 3.0.3, first i tried to print a log using log4j2 LogManager.getLogger(). First i got error Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.logging.log4j)(version>=2.1.0)(!(version>=3.0.0))). I think we dont need to install log4j-api and log4-core bundles manually as karaf should provide these bundles. Then i resolved this error by manually installing log4j-core(Version 2.1) and log4j-api(Version 2.1) bundles in karaf. After that I got error ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console. https://issues.apache.org/jira/browse/LOG4J2-373 <https://issues.apache.org/jira/browse/LOG4J2-373> This seems a bug. But i am using 2.1 version of log4j. The log4j-core uses the bootstrap-classloader and the log4j-api uses the bundle-classloader. Workaround needed. -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038190.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi The LogManager should come with pax-logging-service. Let me check if it's included. Normally, you should use directly a logger. Regards JB On 02/02/2015 08:57 AM, Honey Goyal wrote: Thank You JB. I downloaded karaf 3.0.3, first i tried to print a log using log4j2 LogManager.getLogger(). First i got error Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.logging.log4j)(version>=2.1.0)(!(version>=3.0.0))). I think we dont need to install log4j-api and log4-core bundles manually as karaf should provide these bundles. Then i resolved this error by manually installing log4j-core(Version 2.1) and log4j-api(Version 2.1) bundles in karaf. After that I got error ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console. https://issues.apache.org/jira/browse/LOG4J2-373 <https://issues.apache.org/jira/browse/LOG4J2-373> This seems a bug. But i am using 2.1 version of log4j. The log4j-core uses the bootstrap-classloader and the log4j-api uses the bundle-classloader. Workaround needed. -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038190.html Sent from the Karaf - Dev mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Were you guys still interested in adopting Log4j2 for your logging system?
JB, LogManager comes with pax-logging-service in org.apache.log4j.* package which was for log4j1. If you check pax-logging-log4j bundle, LogManager comes with this jar in org.apache.logging.log4j.* package. I also tried to install pax-logging-log4j bundle as system bundle(startup.properties). But bad luck -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038327.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Were you guys still interested in adopting Log4j2 for your logging system?
JB, Looks like karaf didnt include the pax-logging-log4j2 feature as part of their asslembly. As part of the feature file I only see mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} log4j2 and pax-logging-log4j2 bundles are missing. file being referred -> [karaf.git] -> assemblies -> features -> framework -> src -> main -> feature -> feature.xml Do we need to raise a JIRA for this? Let me know.. Regards, -Yogesh -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hi, I can't remember that we decided to switch to log4j2 as service impl for the karaf logging so this is quite intentional. If you rather have another logging available you'll need to change that in your custom distribution. regards, Achim 2015-02-19 14:01 GMT+01:00 yogu13 : > JB, > > Looks like karaf didnt include the pax-logging-log4j2 feature as part of > their asslembly. As part of the feature file I only see > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} > > log4j2 and pax-logging-log4j2 bundles are missing. > > file being referred -> [karaf.git] -> assemblies -> features -> framework > -> src -> main -> feature -> feature.xml > > Do we need to raise a JIRA for this? > > Let me know.. > > Regards, > -Yogesh > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Good point. I will tackle that as soon as I'm back from vacation. RegardsJB Original message From: Achim Nierbeck Date: 19/02/2015 14:29 (GMT+01:00) To: dev@karaf.apache.org Subject: Re: Were you guys still interested in adopting Log4j2 for your logging system? Hi, I can't remember that we decided to switch to log4j2 as service impl for the karaf logging so this is quite intentional. If you rather have another logging available you'll need to change that in your custom distribution. regards, Achim 2015-02-19 14:01 GMT+01:00 yogu13 : > JB, > > Looks like karaf didnt include the pax-logging-log4j2 feature as part of > their asslembly. As part of the feature file I only see > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} > > log4j2 and pax-logging-log4j2 bundles are missing. > > file being referred -> [karaf.git] -> assemblies -> features -> framework > -> src -> main -> feature -> feature.xml > > Do we need to raise a JIRA for this? > > Let me know.. > > Regards, > -Yogesh > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Hello Achim, Karaf supports / includes pax logging.. Pax logging has implemented the support for log4j2..IMO if karaf includes pax logging then it should be including the support for all implemented logging flavours and let user decide which implementation to use and not be selective. Regards, -Yogesh On Thursday, February 19, 2015, Achim Nierbeck [via Karaf] < ml-node+s922171n4038632...@n3.nabble.com> wrote: > Hi, > > I can't remember that we decided to switch to log4j2 as service impl for > the karaf logging so this is quite intentional. > If you rather have another logging available you'll need to change that in > your custom distribution. > > regards, Achim > > > 2015-02-19 14:01 GMT+01:00 yogu13 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4038632&i=0>>: > > > JB, > > > > Looks like karaf didnt include the pax-logging-log4j2 feature as part of > > their asslembly. As part of the feature file I only see > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} > > > > > log4j2 and pax-logging-log4j2 bundles are missing. > > > > file being referred -> [karaf.git] -> assemblies -> features -> > framework > > -> src -> main -> feature -> feature.xml > > > > Do we need to raise a JIRA for this? > > > > Let me know.. > > > > Regards, > > -Yogesh > > > > > > > > -- > > View this message in context: > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html > > Sent from the Karaf - Dev mailing list archive at Nabble.com. > > > > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software Architect / Project Manager / Scrum Master > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038632.html > To unsubscribe from Were you guys still interested in adopting Log4j2 for > your logging system?, click here > <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4033296&code=eW9ndTEzQGdtYWlsLmNvbXw0MDMzMjk2fC04ODQzODQxMjM=> > . > NAML > <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038634.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Were you guys still interested in adopting Log4j2 for your logging system?
The main problem I see is that log4jv2 support is still not on par. The main problem is that the configuration does not support properties file, so that a bunch of things like going through configadmin using file install, log:set commands, etc... would be broken. 2015-02-19 15:33 GMT+01:00 yogu13 : > Hello Achim, > > Karaf supports / includes pax logging.. Pax logging has implemented the > support for log4j2..IMO if karaf includes pax logging then it should be > including the support for all implemented logging flavours and let user > decide which implementation to use and not be selective. > > Regards, > -Yogesh > > On Thursday, February 19, 2015, Achim Nierbeck [via Karaf] < > ml-node+s922171n4038632...@n3.nabble.com> wrote: > > > Hi, > > > > I can't remember that we decided to switch to log4j2 as service impl for > > the karaf logging so this is quite intentional. > > If you rather have another logging available you'll need to change that > in > > your custom distribution. > > > > regards, Achim > > > > > > 2015-02-19 14:01 GMT+01:00 yogu13 <[hidden email] > > <http:///user/SendEmail.jtp?type=node&node=4038632&i=0>>: > > > > > JB, > > > > > > Looks like karaf didnt include the pax-logging-log4j2 feature as part > of > > > their asslembly. As part of the feature file I only see > > > > > > > > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} > > > > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} > > > > > > > > log4j2 and pax-logging-log4j2 bundles are missing. > > > > > > file being referred -> [karaf.git] -> assemblies -> features -> > > framework > > > -> src -> main -> feature -> feature.xml > > > > > > Do we need to raise a JIRA for this? > > > > > > Let me know.. > > > > > > Regards, > > > -Yogesh > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html > > > Sent from the Karaf - Dev mailing list archive at Nabble.com. > > > > > > > > > > > -- > > > > Apache Member > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer > & > > Project Lead > > blog <http://notizblog.nierbeck.de/> > > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > > > Software Architect / Project Manager / Scrum Master > > > > > > -- > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038632.html > > To unsubscribe from Were you guys still interested in adopting Log4j2 > for > > your logging system?, click here > > < > http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4033296&code=eW9ndTEzQGdtYWlsLmNvbXw0MDMzMjk2fC04ODQzODQxMjM= > > > > . > > NAML > > < > http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038634.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. >
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Exactly, that's why I don't think we will use the log4j2 logging service any time soon. The API, I need to check that, but afaik that should already be included. regards, Achim 2015-02-19 15:50 GMT+01:00 Guillaume Nodet : > The main problem I see is that log4jv2 support is still not on par. The > main problem is that the configuration does not support properties file, so > that a bunch of things like going through configadmin using file install, > log:set commands, etc... would be broken. > > 2015-02-19 15:33 GMT+01:00 yogu13 : > > > Hello Achim, > > > > Karaf supports / includes pax logging.. Pax logging has implemented the > > support for log4j2..IMO if karaf includes pax logging then it should be > > including the support for all implemented logging flavours and let user > > decide which implementation to use and not be selective. > > > > Regards, > > -Yogesh > > > > On Thursday, February 19, 2015, Achim Nierbeck [via Karaf] < > > ml-node+s922171n4038632...@n3.nabble.com> wrote: > > > > > Hi, > > > > > > I can't remember that we decided to switch to log4j2 as service impl > for > > > the karaf logging so this is quite intentional. > > > If you rather have another logging available you'll need to change that > > in > > > your custom distribution. > > > > > > regards, Achim > > > > > > > > > 2015-02-19 14:01 GMT+01:00 yogu13 <[hidden email] > > > <http:///user/SendEmail.jtp?type=node&node=4038632&i=0>>: > > > > > > > JB, > > > > > > > > Looks like karaf didnt include the pax-logging-log4j2 feature as part > > of > > > > their asslembly. As part of the feature file I only see > > > > > > > > > > > > > > > > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} > > > > > > > > > > > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} > > > > > > > > > > > log4j2 and pax-logging-log4j2 bundles are missing. > > > > > > > > file being referred -> [karaf.git] -> assemblies -> features -> > > > framework > > > > -> src -> main -> feature -> feature.xml > > > > > > > > Do we need to raise a JIRA for this? > > > > > > > > Let me know.. > > > > > > > > Regards, > > > > -Yogesh > > > > > > > > > > > > > > > > -- > > > > View this message in context: > > > > > > > > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html > > > > Sent from the Karaf - Dev mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > -- > > > > > > Apache Member > > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> > Committer > > & > > > Project Lead > > > blog <http://notizblog.nierbeck.de/> > > > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > > > > > Software Architect / Project Manager / Scrum Master > > > > > > > > > -- > > > If you reply to this email, your message will be added to the > discussion > > > below: > > > > > > > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038632.html > > > To unsubscribe from Were you guys still interested in adopting Log4j2 > > for > > > your logging system?, click here > > > < > > > http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4033296&code=eW9ndTEzQGdtYWlsLmNvbXw0MDMzMjk2fC04ODQzODQxMjM= > > > > > > . > > > NAML > > > < > > > http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > > > > > > > > > > -- > > View this message in context: > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038634.html > > Sent from the Karaf - Dev mailing list archive at Nabble.com. > > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
Re: Were you guys still interested in adopting Log4j2 for your logging system?
Valid point! Not sure log4j2 has this on its list as well. Regards, -Yogesh On Thursday, February 19, 2015, Guillaume Nodet-2 [via Karaf] < ml-node+s922171n4038635...@n3.nabble.com> wrote: > The main problem I see is that log4jv2 support is still not on par. The > main problem is that the configuration does not support properties file, > so > that a bunch of things like going through configadmin using file install, > log:set commands, etc... would be broken. > > 2015-02-19 15:33 GMT+01:00 yogu13 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4038635&i=0>>: > > > Hello Achim, > > > > Karaf supports / includes pax logging.. Pax logging has implemented the > > support for log4j2..IMO if karaf includes pax logging then it should be > > including the support for all implemented logging flavours and let user > > decide which implementation to use and not be selective. > > > > Regards, > > -Yogesh > > > > On Thursday, February 19, 2015, Achim Nierbeck [via Karaf] < > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4038635&i=1>> > wrote: > > > > > Hi, > > > > > > I can't remember that we decided to switch to log4j2 as service impl > for > > > the karaf logging so this is quite intentional. > > > If you rather have another logging available you'll need to change > that > > in > > > your custom distribution. > > > > > > regards, Achim > > > > > > > > > 2015-02-19 14:01 GMT+01:00 yogu13 <[hidden email] > > > <http:///user/SendEmail.jtp?type=node&node=4038632&i=0>>: > > > > > > > JB, > > > > > > > > Looks like karaf didnt include the pax-logging-log4j2 feature as > part > > of > > > > their asslembly. As part of the feature file I only see > > > > > > > > > > > > > > > > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} > > > > > > > > > > > > > > > > > > > > > start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} > > > > > > > > > > > > log4j2 and pax-logging-log4j2 bundles are missing. > > > > > > > > file being referred -> [karaf.git] -> assemblies -> features -> > > > framework > > > > -> src -> main -> feature -> feature.xml > > > > > > > > Do we need to raise a JIRA for this? > > > > > > > > Let me know.. > > > > > > > > Regards, > > > > -Yogesh > > > > > > > > > > > > > > > > -- > > > > View this message in context: > > > > > > > > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html > > > > Sent from the Karaf - Dev mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > -- > > > > > > Apache Member > > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> > Committer > > & > > > Project Lead > > > blog <http://notizblog.nierbeck.de/> > > > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > > > > > Software Architect / Project Manager / Scrum Master > > > > > > > > > ---------- > > > If you reply to this email, your message will be added to the > discussion > > > below: > > > > > > > > > http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038632.html > > > To unsubscribe from Were you guys still interested in adopting Log4j2 > > for > > > your logging system?, click here > > > < > > > > > > . > > > NAML > > > < > > > http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notif
Re: Were you guys still interested in adopting Log4j2 for your logging system?
We can have log4j2 at bundle level and pax maps it to log4j at karaf level that i have implemented. But i doubt if log4j2 appender will work if we configure it in org.ops4j.pax.logging.cfg. Thanks, Honey Goyal On Feb 19, 2015 8:34 PM, "yogu13 [via Karaf]" < ml-node+s922171n4038637...@n3.nabble.com> wrote: > Valid point! Not sure log4j2 has this on its list as well. > > Regards, > -Yogesh > > On Thursday, February 19, 2015, Guillaume Nodet-2 [via Karaf] <[hidden > email] <http:///user/SendEmail.jtp?type=node&node=4038637&i=0>> wrote: > >> The main problem I see is that log4jv2 support is still not on par. The >> main problem is that the configuration does not support properties file, >> so >> that a bunch of things like going through configadmin using file install, >> log:set commands, etc... would be broken. >> >> 2015-02-19 15:33 GMT+01:00 yogu13 <[hidden email] >> <http:///user/SendEmail.jtp?type=node&node=4038635&i=0>>: >> >> > Hello Achim, >> > >> > Karaf supports / includes pax logging.. Pax logging has implemented the >> > support for log4j2..IMO if karaf includes pax logging then it should be >> > including the support for all implemented logging flavours and let user >> > decide which implementation to use and not be selective. >> > >> > Regards, >> > -Yogesh >> > >> > On Thursday, February 19, 2015, Achim Nierbeck [via Karaf] < >> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4038635&i=1>> >> wrote: >> > >> > > Hi, >> > > >> > > I can't remember that we decided to switch to log4j2 as service impl >> for >> > > the karaf logging so this is quite intentional. >> > > If you rather have another logging available you'll need to change >> that >> > in >> > > your custom distribution. >> > > >> > > regards, Achim >> > > >> > > >> > > 2015-02-19 14:01 GMT+01:00 yogu13 <[hidden email] >> > > <http:///user/SendEmail.jtp?type=node&node=4038632&i=0>>: >> > > >> > > > JB, >> > > > >> > > > Looks like karaf didnt include the pax-logging-log4j2 feature as >> part >> > of >> > > > their asslembly. As part of the feature file I only see >> > > > >> > > > >> > > > > > > > >> > > > >> > > >> > >> start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/${pax.logging.version} >> >> > > >> > > >> > > > >> > > > >> > > >> > >> start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/${pax.logging.version} >> >> > > >> > > > >> > > > log4j2 and pax-logging-log4j2 bundles are missing. >> > > > >> > > > file being referred -> [karaf.git] -> assemblies -> features -> >> > > framework >> > > > -> src -> main -> feature -> feature.xml >> > > > >> > > > Do we need to raise a JIRA for this? >> > > > >> > > > Let me know.. >> > > > >> > > > Regards, >> > > > -Yogesh >> > > > >> > > > >> > > > >> > > > -- >> > > > View this message in context: >> > > > >> > > >> > >> http://karaf.922171.n3.nabble.com/Were-you-guys-still-interested-in-adopting-Log4j2-for-your-logging-system-tp4033296p4038631.html >> > > > Sent from the Karaf - Dev mailing list archive at Nabble.com. >> > > > >> > > >> > > >> > > >> > > -- >> > > >> > > Apache Member >> > > Apache Karaf <http://karaf.apache.org/> Committer & PMC >> > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >> Committer >> > & >> > > Project Lead >> > > blog <http://notizblog.nierbeck.de/> >> > > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >> > > >> > > Software Architect / Project Manager / Scrum Master >> > > >> > > >> > > ---------- >> > > If you reply to this email, your message will be added to the >> discussion