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


Groups > comp.os.linux.development.apps > #352

Re: logging

From Bill M <wpmccormick@just_about_everywhere.com>
Newsgroups comp.os.linux.development.apps
Subject Re: logging
Date 2012-01-05 17:33 -0600
Organization A noiseless patient Spider
Message-ID <je5c0t$uou$1@dont-email.me> (permalink)
References <je541k$f4o$1@dont-email.me> <IUpNq.68726$ed2.51523@newsfe05.iad>

Show all headers | View raw


Lew Pitcher wrote, On 1/5/2012 4:56 PM:
> On January 5, 2012 16:17, in comp.os.linux.development.apps,
> wpmccormick@just_about_everywhere.com wrote:
>
>> I'm researching logging for C applications to run on Debian Squeeze.
>> Having previous experience with log4net, ported from log4j, I see it has
>> also been ported to log4c. It appears to be a project without much
>> recent activity and support.
>>
>> Does anyone here have any experience with log4c? Comments?
>
> No experience, but one comment. From the (sparsish) documentation at
> http://log4c.sourceforge.net, log4c looks to be an overbuilt,
> overcomplicated API written in an OO-style. The files (what the site
> presents of them) /look/ to be written in C, but the logic appears to be
> intended for C++-like programs.
>
>> Would anyone care to recommend a logger API?
>
> How about the syslog API that comes with Linux? It's pretty simple, and it
> works excellently
>
> Check out syslog(3) ("man 3 syslog")

Yes, syslog is a consideration, but the drawback for me is that log 
messages will be mixed in with other (system) messages. I was hoping to 
have a logging facility that I could separate. I suppose it's nothing a 
little grep'ing can't get past though.

Thanks,

Bill

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

logging Bill M <wpmccormick@just_about_everywhere.com> - 2012-01-05 15:17 -0600
  Re: logging Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-01-05 15:41 -0700
  Re: logging Lew Pitcher <lpitcher@teksavvy.com> - 2012-01-05 17:56 -0500
    Re: logging Bill M <wpmccormick@just_about_everywhere.com> - 2012-01-05 17:33 -0600
      Re: logging Lew Pitcher <lpitcher@teksavvy.com> - 2012-01-05 19:31 -0500
  Re: logging Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-01-05 23:17 +0000
    Re: logging Bill M <wpmccormick@just_about_everywhere.com> - 2012-01-05 18:41 -0600
      Re: logging Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-01-05 21:16 -0700
        Re: logging Bill M <wpmccormick@just_about_everywhere.com> - 2012-01-06 14:52 -0600
          Re: logging Bill M <wpmccormick@just_about_everywhere.com> - 2012-01-06 16:39 -0600
      Re: logging Bill M <wpmccormick@just_about_everywhere.com> - 2012-01-09 17:58 -0600
        Re: logging Kaz Kylheku <kaz@kylheku.com> - 2012-01-10 00:13 +0000

csiph-web