Hi, The way forward to go on log monitoring is with Log Analytics solution that we are working on. Anyhow the old logging publishing method is broken and cannot be used with latest carbon release products, because that's tightly coupled with cassandra, Hadoop, etc, and hence we can't use that with current DAS. Anyhow once the LA solution/log publisher (based on log stash publisher) is available, it can be used with existing WSO2 products also.
Thanks, Sinthuja. On Wed, Dec 2, 2015 at 11:29 AM, Sriskandarajah Suhothayan <s...@wso2.com> wrote: > Hi DAS team > > The current log publishing is broken. > Whats the recommended log publishing approach going forward? > > Suho > > On Wed, Dec 2, 2015 at 11:27 AM, Imesh Gunaratne <im...@wso2.com> wrote: > >> Hi Suho/Anjana, >> >> I noticed that we are working on a feature called Log Analyzer. Is this >> for centralized logging? >> If not what's the approach we are taking for $subject with DAS? >> >> Thanks >> >> On Wed, Dec 2, 2015 at 11:16 AM, Anuruddha Liyanarachchi < >> anurudd...@wso2.com> wrote: >> >>> Hi, >>> >>> I am trying to publish carbon logs to DAS and I am facing following >>> problems. >>> >>> *In carbon 4.2.0 products (APIM 1.9.1) :* >>> For each day stream definitions are created [1], therefore I can't use a >>> common event receiver to persist data. >>> >>> >>> *In carbon 4.4.0 products (ESB 4.9.0) :* >>> Throws class not found error [2]. >>> >>> Is there a way to solve these issues ? >>> >>> >>> [1]log.0.AM.2015.12.02:1.0.0 >>> <https://localhost:9443/carbon/eventstream/eventStreamDetails.jsp?ordinal=1&eventStreamWithVersion=log.0.AM.2015.12.02:1.0.0> >>> log.0.AM.2015.12.01:1.0.0 >>> <https://localhost:9443/carbon/eventstream/eventStreamDetails.jsp?ordinal=1&eventStreamWithVersion=log.0.AM.2015.12.01:1.0.0> >>> >>> [2] >>> log4j:ERROR Could not instantiate class >>> [org.wso2.carbon.logging.service.appender.LogEventAppender]. >>> java.lang.ClassNotFoundException: >>> org.wso2.carbon.logging.service.appender.LogEventAppender cannot be found >>> by org.wso2.carbon.logging_4.4.1 >>> at >>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455) >>> at >>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) >>> at >>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) >>> at >>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Class.java:191) >>> at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198) >>> at >>> org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:327) >>> at >>> org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:124) >>> at >>> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:785) >>> at >>> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) >>> at >>> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) >>> at >>> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) >>> at >>> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) >>> at >>> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) >>> at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) >>> at >>> org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73) >>> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242) >>> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) >>> at com.atomikos.logging.Slf4jLogger.<init>(Slf4jLogger.java:8) >>> at >>> com.atomikos.logging.Slf4JLoggerFactoryDelegate.createLogger(Slf4JLoggerFactoryDelegate.java:7) >>> at com.atomikos.logging.LoggerFactory.createLogger(LoggerFactory.java:12) >>> at com.atomikos.logging.LoggerFactory.<clinit>(LoggerFactory.java:52) >>> at >>> com.atomikos.transactions.internal.AtomikosActivator.<clinit>(AtomikosActivator.java:47) >>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >>> at >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) >>> at java.lang.Class.newInstance(Class.java:379) >>> at >>> org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:167) >>> at >>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679) >>> at >>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) >>> at >>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) >>> at >>> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) >>> at >>> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) >>> at >>> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) >>> at >>> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) >>> at >>> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) >>> at >>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) >>> at >>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) >>> at >>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >>> at >>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >>> log4j:ERROR Could not instantiate appender named "LOGEVENT". >>> >>> -- >>> *Thanks and Regards,* >>> Anuruddha Lanka Liyanarachchi >>> Software Engineer - WSO2 >>> Mobile : +94 (0) 712762611 >>> Tel : +94 112 145 345 >>> a <thili...@wso2.com>nurudd...@wso2.com >>> >> >> >> >> -- >> *Imesh Gunaratne* >> Senior Technical Lead >> WSO2 Inc: http://wso2.com >> T: +94 11 214 5345 M: +94 77 374 2057 >> W: http://imesh.gunaratne.org >> Lean . Enterprise . Middleware >> >> > > > -- > > *S. Suhothayan* > Technical Lead & Team Lead of WSO2 Complex Event Processor > *WSO2 Inc. *http://wso2.com > * <http://wso2.com/>* > lean . enterprise . middleware > > > *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog: > http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter: > http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in: > http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>* > -- *Sinthuja Rajendran* Associate Technical Lead WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev