Wilson Jason<[EMAIL PROTECTED]> wrote on 2007-02-28 02:00:
> 
> Could someone please help me with configuring postfix to sends its logs to
> both a local file and to a syslog server?
> 
For debugging aid please have a look at the last paragraph of
http://marc.theaimsgroup.com/?l=openpkg-dev&m=116608524305991 

> On a related question - does the fsl library re-read configuration on the fly
> - or it only on startup?
> 
The fsl reads all fsl.* files from it's configuration directory on every
openlog() call from the application. A common pitfall is to store defective,
testing and copies of fsl.* files in the directory which confuses fsl because
it reads them all and concatenates them into a huge string. This also leads to
the problem of one defective file - independent of the application - affects
all fsl applications.

The root cause of these problems is the fact that fsl is a library being built
before the application. It really doesn't know anything about the application
that is using it. Because fsl replaces the existing syslog API, extensions are
not possible. The only way fsl knows about it's host is through the information
that is passed through the openlog() call - which is optional by definition of
the syslog API. At that time, the config must have been read with zero
knowledge.
 

-- 
http://thomas.lotterer.net
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to