This problem was being caused because the log4j appender for CARBON_MEMORY in the product was pointing to an incorrect appender implementation. This started working once I changed the appender for CARBON_MEMORY to *org.wso2.carbon.logging.appender.CarbonMemoryAppender* in the product. Thanks DimuthuD for helping me find the cause.
On 9 April 2015 at 12:09, Gokul Balakrishnan <[email protected]> wrote: > Hi TA team, > > While writing an automated test, I was intending to use the > LogViewerClient provided by the automation.api package 4.2.0 to capture the > system logs and check of a particular expression is present in the logs. > > However, from the getAllSystemLogs() method of the LogViewerClient > instance, all I seem to be getting is the following message: > > "The log must be configured to use the > org.wso2.carbon.logging.core.util.MemoryAppender to view entries through > the admin console" > > Can you please help me figure out what's wrong? > > Thanks, > Gokul. > > -- > *Balakrishnan Gokulakrishnan* > Software Engineer, > WSO2, Inc. http://wso2.com > Mob: +94 77 593 5789 | +1 650 272 9927 > -- *Balakrishnan Gokulakrishnan* Software Engineer, WSO2, Inc. http://wso2.com Mob: +94 77 593 5789 | +1 650 272 9927
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
