I like the idea here, but binding this to the assumption that log files are
stored relative to the sling home directory isn't a safe assumption. Can't
this be written using the Logback API and avoid reading files at all? I.e.
Just have log entries stored in an in-memory buffer.

At that point (I think) the only dependency would be Logback.

Regards,
Justin
On Fri, May 8, 2015 at 5:21 AM Robert Munteanu <[email protected]> wrote:

> On Fri, May 8, 2015 at 6:40 AM, Chetan Mehrotra
> <[email protected]> wrote:
> > Hi Varun,
> >
> > This looks really useful and would save quite a bit of hassle when
> > monitoring logs on remote setups. Would give it a try.
> >
> > Probably we can move it to Sling. What do others think?
>
> +1 for moving it under /contrib/extensions
>
> Quickly looking at the code, I believe we could even make this
> Sling-independent and contribute it to Apache Felix, but Sling is a
> good place for an initial contribution.
>
> Cheers,
>
> Robert
>
> > Chetan Mehrotra
> >
> >
> > On Thu, May 7, 2015 at 2:46 PM, Varun Nagpal <[email protected]>
> wrote:
> >> Hi All,
> >>
> >> I have implemented a Sling Web Console to tail the sling log files.
> >> Please have a look at source code [0]
> >>
> >> A screen shot of the plugin UI is attached.
> >>
> >> Feedback most welcome.
> >>
> >> Thanks.
> >> --
> >> Varun
> >>
> >> [0] https://github.com/vnagpal81/sling-logtail
> >>
>

Reply via email to