Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F16C18C76 for ; Sat, 28 Nov 2015 18:11:54 +0000 (UTC) Received: (qmail 79784 invoked by uid 500); 28 Nov 2015 18:11:54 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 79733 invoked by uid 500); 28 Nov 2015 18:11:54 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 79723 invoked by uid 99); 28 Nov 2015 18:11:54 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2015 18:11:54 +0000 Received: from mail-yk0-f173.google.com (mail-yk0-f173.google.com [209.85.160.173]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id D0D091A0623 for ; Sat, 28 Nov 2015 18:11:53 +0000 (UTC) Received: by ykfs79 with SMTP id s79so146370275ykf.1 for ; Sat, 28 Nov 2015 10:11:53 -0800 (PST) X-Received: by 10.129.101.134 with SMTP id z128mr44888619ywb.92.1448734313028; Sat, 28 Nov 2015 10:11:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.236.214 with HTTP; Sat, 28 Nov 2015 10:11:33 -0800 (PST) In-Reply-To: References: From: Imesh Gunaratne Date: Sat, 28 Nov 2015 23:41:33 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Server Log Client for Stratos Integration Tests To: dev Cc: Isuru Haththotuwa Content-Type: multipart/alternative; boundary=001a114844ec1a267205259dbe27 --001a114844ec1a267205259dbe27 Content-Type: text/plain; charset=UTF-8 On Tue, Nov 24, 2015 at 5:45 PM, Isuru Haththotuwa 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? Thanks > On Sun, Nov 22, 2015 at 7:53 AM, Isuru Haththotuwa > 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* * >> >> >> > > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048* * > > > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos --001a114844ec1a267205259dbe27 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable




--
=
Imesh= Gunaratne

Senior Technical Lead, WSO2=
Committer & PMC Member, Apache Stratos
--001a114844ec1a267205259dbe27--