$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [log] Review-ready version in the Vault
From: Dmitry Goncharov (dgoncharov_at_[hidden])
Date: 2009-02-13 03:35:05
Peter Simons wrote:
> Hi Boris,
>
> >> I need the ability to submit log messages to an RFC 3164 conforming
> >> syslog daemon.
> >
> > I'm as puzzled as Ravi. Do I understand correctly that you expect a Boost
> > library to make a platform-specific feature platform-independent?
>
> yes, you understood me correctly. Why does that notion puzzle you? There are
> plenty of Boost libraries that abstract platform-specific features
> underneath a platform-independent API, i.e. Boost.Asio, Boost.Thread,
> Boost.Filesystem, Boost.Interprocess, and so on. It is quite common for
> libraries to do that.
>
> Anyway, there seems to be a misunderstanding. The protocol specified in
> RFC3164 is platform-independent. It just so happens that the proposed
> logging library doesn't implement that protocol. Instead, it relies on the
> POSIX call syslog(3), which is not available on platforms like Windows.
> Thus, the syslog back-end in the proposed logging library is
> platform-specific even though the functionality itself is not. Personally, I
> perceive that as an unnecessary limitation that should be lifted. However,
> Andrey has stated that he doesn't want to remedy that limitation as part of
> his proposal, which is why I am unhappy about the proposed library.
>
> Take care,
> Peter
>
>
syslog() generates log messages for syslogd. There is no syslogd on windows.
Where do you expect the syslog backend pass the messages to?
BR, Dmitry