Hi, On Sat, Nov 28, 2015 at 11:41 PM, Imesh Gunaratne <im...@apache.org> wrote:
> > > On Tue, Nov 24, 2015 at 5:45 PM, Isuru Haththotuwa <isu...@apache.org> > wrote: > >> Added a new API method to obtain logs in a incremental manner [1]. >> >> [1]. >> /** >> * Return all log lines up to now, starting from the previous >> location. The previous location >> * is the last log line returned, if this method was called earlier >> on the same >> * ServerLogClient instance. >> * >> * @return all log lines, starting from the last log line returned >> * @throws AutomationUtilException >> */ >> public String[] getLogLines () throws AutomationUtilException >> >> How does it track the previous line? Do we cache the last log line in > each API call? > It keeps track of the number of lines returned in the previous call, and returns the logs from there onwards. > > Thanks > > >> On Sun, Nov 22, 2015 at 7:53 AM, Isuru Haththotuwa <isu...@apache.org> >> wrote: >> >>> Hi Devs, >>> >>> Added a $subject, class 'ServerLogClient'. This allows to monitor the >>> back end logs of the Stratos server or any Carbon Server against which the >>> integration tests are run, by providing the server URL. For an example, in >>> a setup with multiple CEP nodes, we can use this to read the BE logs for >>> each of those. Currently this has only one method to get all server logs. >>> I'll add a few useful API methods asap. >>> >>> -- >>> Thanks and Regards, >>> >>> Isuru H. >>> +94 716 358 048* <http://wso2.com/>* >>> >>> >>> >> >> >> -- >> Thanks and Regards, >> >> Isuru H. >> +94 716 358 048* <http://wso2.com/>* >> >> >> > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Thanks and Regards, Isuru H. +94 716 358 048* <http://wso2.com/>*