On Fri, Oct 12, 2012 at 11:44 AM, Afkham Azeez <az...@wso2.com> wrote:
> > > On Fri, Oct 12, 2012 at 11:42 AM, Amani Soysa <am...@wso2.com> wrote: > >> Hi, >> >> Regarding removing CTRL-A charactor as a temporary fix we can replace the >> character once we create the Log file after the cron job execution using >> java programatically , and then archive the file again. >> > +1 As a temporary solution, will do this. > >> WDYT? >> > > +1 > > >> >> Regards, >> Amani >> >> >> On Fri, Oct 12, 2012 at 10:37 AM, Amani Soysa <am...@wso2.com> wrote: >> >>> Hi, >>> >>> I have fixed the issues with the blank lines comming after the stack >>> trace and also file name format issue is fixed according to the standard >>> file format generated as the log4j DailyRollingFileAppender's default >>> filename format. Now the archived file name is AS.log.2012-10-09 >>> (ProductKey.log.date similar to wso2carbon.log.2012-10-09) >>> >>> The only issue we have right now is getting ctrl-A charactor in each log >>> line. The reason behind this issue is No matter what the table format, >>> INSERT OVERWRITE LOCAL DIRECTORY will always use ctrl-A delimiters ('\001' >>> ). This is a known issue in hive [1] we have to find alternative approaches >>> to archive the log file. Manisha is looking into alternative approaches to >>> fix this issue. >>> >>> [1]-https://issues.apache.org/jira/browse/HIVE-634<https://issues.apache.org/jira/browse/HIVE-634%20> >>> >>> Regards, >>> Amani >>> >>> >>> >>> On Fri, Oct 12, 2012 at 8:50 AM, Afkham Azeez <az...@wso2.com> wrote: >>> >>>> Looks much nicer. The exception stacktrace has to be fixed though. Here >>>> is a sample from a standard log file. Note the indentation. Also, after the >>>> exception stacktrace, there is a blank line. These things have to be fixed >>>> because as Sanjiva mentioned during the review, it should be possible to >>>> use these log files with standard log analysis tools. >>>> >>>> Also, the file name should contain dashes (-) not underscore (_) to be >>>> consistent with the log4j DailyRollingFileAppender's default filename >>>> format. >>>> >>>> java.lang.UnsupportedClassVersionError: >>>> org/wso2/carbon/clustering/hazelcast/HazelcastClusteringAgent : Unsupported >>>> major.minor version 51.0 >>>> at java.lang.ClassLoader.defineClass1(Native Method) >>>> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) >>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:615) >>>> at >>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188) >>>> at >>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601) >>>> at >>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567) >>>> at >>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490) >>>> at >>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478) >>>> at >>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458) >>>> at >>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) >>>> at >>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400) >>>> at >>>> org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35) >>>> at >>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:483) >>>> at >>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) >>>> at >>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) >>>> at >>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >>>> at java.lang.Class.forName0(Native Method) >>>> at java.lang.Class.forName(Class.java:169) >>>> at >>>> org.apache.axis2.deployment.ClusterBuilder.buildCluster(ClusterBuilder.java:79) >>>> at >>>> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:186) >>>> at >>>> org.wso2.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:308) >>>> at >>>> org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:188) >>>> at >>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) >>>> at >>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >>>> at >>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) >>>> at >>>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290) >>>> at >>>> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) >>>> at >>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >>>> at >>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >>>> at >>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >>>> >>>> On Fri, Oct 12, 2012 at 8:42 AM, Amani Soysa <am...@wso2.com> wrote: >>>> >>>>> I have attached a sample log file herewith. >>>>> Regards, >>>>> Amani >>>>> >>>>> >>>>> On Fri, Oct 12, 2012 at 8:35 AM, Afkham Azeez <az...@wso2.com> wrote: >>>>> >>>>>> The log format is the most important issue. Can you attach a sample >>>>>> log file to see how it looks like? >>>>>> >>>>>> Azeez >>>>>> >>>>>> >>>>>> On Fri, Oct 12, 2012 at 7:29 AM, Amani Soysa <am...@wso2.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> All the issues we discussed during the logging review, is fixed >>>>>>> except [1], Manisha is looking into it. >>>>>>> >>>>>>> [1] - https://wso2.org/jira/browse/CARBON-13912 >>>>>>> >>>>>>> Regards, >>>>>>> Amani >>>>>>> >>>>>>> >>>>>>> On Thu, Oct 11, 2012 at 11:59 PM, Afkham Azeez <az...@wso2.com>wrote: >>>>>>> >>>>>>>> Are these done? >>>>>>>> >>>>>>>> -- >>>>>>>> *Afkham Azeez* >>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>>>>> * <http://www.apache.org/>** >>>>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 >>>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>>>>>> twitter: >>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>>>>> * >>>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>>>>>> * >>>>>>>> * >>>>>>>> *Lean . Enterprise . Middleware* >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Afkham Azeez* >>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>>> * <http://www.apache.org/>** >>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 >>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>>>> twitter: >>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>>> * >>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>>>> * >>>>>> * >>>>>> *Lean . Enterprise . Middleware* >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> *Afkham Azeez* >>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>> Member; Apache Software Foundation; http://www.apache.org/ >>>> * <http://www.apache.org/>** >>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 >>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>> twitter: >>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>> * >>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>> * >>>> * >>>> *Lean . Enterprise . Middleware* >>>> >>>> >>> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *mobile: +94 71 8279777* * *
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev