Re: Logger : Viewing realtime from another app ?

From: nos (nos_at_nospam.com)
Date: 04/01/04


Date: Thu, 01 Apr 2004 03:25:24 GMT

tail -f
should do it
if you specify a file length, the current file will be renamed
and a new one started when it fills up

"Bryce (Work)" <spamtrap@berzerker-soft.com> wrote in message
news:oe2m60hpcgdo3pqtdibe3c6icnkp5902k3@4ax.com...
> On Wed, 31 Mar 2004 17:50:23 +0100, "Webby" <steve@swebb99.fs2.com>
> wrote:
>
> >Hi,
> >
> >I've been having a read of the Logger API introduced in 1.4. It looks
quite useful but does anyone
> >no if there is anyway of monitoring the logs in an application from a
seperate java application
> >written to display logs in real time. It would be useful if you could use
the logger monitor to turn
> >on and off different logging and also monitor what packages currently
have logging turned on.
>
> Well, if you are logging to a file, then its just a matter of reading
> that file, updating periodically...
>
> I haven't used the Logger API in 1.4, but I've used Log4J package from
> Apache jakarta project. It provides many appenders that allow you to
> write logs in different ways. Some examples of methods that already
> exist are:
>
> writing to consoles, files, GUI components, remote socket servers,
> JMS, NT Event Loggers, remote UNIX Syslog, JDBC, email...
>
> --
> now with more cowbell



Relevant Pages

  • Re: Logger : Viewing realtime from another app ?
    ... >written to display logs in real time. ... >on and off different logging and also monitor what packages currently have logging turned on. ... I haven't used the Logger API in 1.4, but I've used Log4J package from ...
    (comp.lang.java.programmer)
  • RE: [fw-wiz] Log checking?
    ... tend to evaluate where and what logging is important in a different light. ... I've been happy to analyze a year's worth of firewall denied logs, ... have denied firewall traffic logs or denied logs with any relevant data. ...
    (Firewall-Wizards)
  • Re: Login Errors Seem to indicate we are being hacked?
    ... thing on the box using that authentication package. ... The SMTP or IIS logs should answer everything. ... I'm not familiar with that particular router or its logging capabilities, ...
    (microsoft.public.windows.server.sbs)
  • Re: Requiring specific computer to log on
    ... > Monitoring through the RRAS VPN log files is simple though. ... Double click the logfile. ... >> if I can simply block his own machine from logging on - that does resolve ... >> able to monitor his logging on. ...
    (microsoft.public.windows.server.sbs)
  • Re: Logging Best Practice?
    ... a lot depends on who's going to read the logs. ... lookup where the log line originated and look at the program flow. ... I usually implement logging in a way the user can choose the logging level ... Those are ment for checking if the ...
    (comp.programming)