Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38770

Re: java still worthwhile?

From Martin Gregorie <martin@mydomain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: java still worthwhile?
Date 2019-02-28 23:24 +0000
Organization albasani.net
Message-ID <q59qio$off$1@news.albasani.net> (permalink)
References (2 earlier) <c1185f.vne.17.1@news.alt.net> <q54lcj$79u$1@news.albasani.net> <q5679j$5jp$1@dont-email.me> <q56s7g$f7g$1@news.albasani.net> <q59ml1$jau$1@dont-email.me>

Show all headers | View raw


On Thu, 28 Feb 2019 23:16:58 +0100, Daniele Futtorovic wrote:

> No logging framework?
>
Nope. I use it exactly as I described and it does exactly what I want it 
to do. Its compatible with anything I've written in Java, from daemons 
and cron jobs to desktop GUI applications.

> Is that really a good idea?
>
So far, yes. I expect it wouldn't be too difficult to interface it to the 
Linux logging system if needed, or it could simply write to 
/var/log/mylogs/ThisAppsLog.log and add a recipe to the logrotate 
configuration to manage the logs it outputs.

FWIW ReportError is a fairly direct reimplementation of a very similar 
library module I wrote for C development, which got migrated to Java as 
soon as I found I needed it, along with an improved replacement for C's 
getopt() command line parser.

The circular buffer was inspired by a mainframe OS (ICL's George 3) that 
I used to also support with my sysadmin's hat on. It used two circular 
buffers, both holding about 240 messages, but with one much finer grained 
that the other , so one captured what the OS as a whole was doing when it 
crashed and the other captured detail of what the chapter that crashed 
had been up to. That experience taught me that a straight snapshot-type 
crash dump often isn't a whole lot of use without a trail showing what 
recent events and activities preceded the crash.  


-- 
Martin    | martin at
Gregorie  | gregorie dot org

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

java still worthwhile? dale <dale@dalekelly.org> - 2019-02-26 17:25 -0500
  Re: java still worthwhile? dale <dale@dalekelly.org> - 2019-02-26 18:37 -0500
    Re: java still worthwhile? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-02-27 15:36 +0100
      Re: java still worthwhile? Martin Gregorie <martin@mydomain.invalid> - 2019-02-27 20:33 +0000
        Re: java still worthwhile? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-02-28 23:16 +0100
          Re: java still worthwhile? Martin Gregorie <martin@mydomain.invalid> - 2019-02-28 23:24 +0000
  Re: java still worthwhile? Eric Sosman <esosman@comcast-dot-net.invalid> - 2019-02-27 07:28 -0500
    Re: java still worthwhile? dale <dale@dalekelly.org> - 2019-02-27 09:32 -0500
  Re: java still worthwhile? Eric Douglas <e.d.programmer@gmail.com> - 2019-02-27 05:18 -0800
    Re: java still worthwhile? dale <dale@dalekelly.org> - 2019-02-27 16:34 -0500
  Re: java still worthwhile? Joerg Meier <joergmmeier@arcor.de> - 2019-03-01 11:10 +0100
    Re: java still worthwhile? dale <dale@dalekelly.org> - 2019-03-01 10:11 -0500
      Re: java still worthwhile? Eric Douglas <e.d.programmer@gmail.com> - 2019-03-01 07:22 -0800
        Re: java still worthwhile? dale <dale@dalekelly.org> - 2019-03-01 13:34 -0500
      Re: java still worthwhile? Arne Vajhøj <arne@vajhoej.dk> - 2019-03-01 22:07 -0500
      Re: java still worthwhile? Joerg Meier <joergmmeier@arcor.de> - 2019-03-05 09:40 +0100
        Re: java still worthwhile? dale <dale@dalekelly.org> - 2019-03-05 09:33 -0500
  Re: java still worthwhile? Arne Vajhøj <arne@vajhoej.dk> - 2019-03-01 22:09 -0500

csiph-web