Boost logo

Boost :

Subject: Re: [boost] [log] Comments
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-15 08:40:12


On Monday 15 March 2010 15:30:20 Darryl Green wrote:

> On Mon, 2010-03-15 at 13:45 +0300, Vladimir Prus wrote:
> > Looking at the proposed libraries, I see two major issues:
> >
>
> > * It appears that out of the box, the proposed library does not address
> > this component/severity style of logging that I've explained above.
>
> Aside from the examples given, syslog still exists (complete with printf
> interface - who needs another logging lib anyway :) and has the same
> component (the tag) and severity (severity) concept, plus a time stamp
> and a "host" identifier. Common usage also includes a process ID. It
> would be instructive to see an example usage with the necessary
> attributes to construct a conventional syslog message.
>
> > * Why is trivial logging printing the sequental number of each log message?
> > I don't think this helps anything. Also, it prints the thread "number",
> > on my system a hex string. I am not sure thread id should be part of trivial
> > logging.
>
> I agree. But that said, I'm not sure what the "right" base attribute set
> should be - I'm not sure there should be one - it would be better to
> make composition from a set of commonly used attributes easier.

Maybe so -- right now it seems like you either get trivial logging with
fixed set of attributes and fixed idea where output goes, or you need to
do much more configuration.

Thanks,
Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk