Age | Commit message (Collapse) | Author | Files |
|
This is not very useful, is not maintained, has open serious bugs. Better
to admit that it does not work and just remove it. Someone could easily
make an AUR package with a hook, if they want it and can make it work
as expected.
The only case where this would be useful is in case lvm monitoring is in use
and dmeventd sends out a message to syslog before syslog-ng is started
(there is a very small window). However, not even this works atm (as far
as I know) due to bugs in minilogd.
Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a #define without checking if already defined
(introduced in a2db62cbc2f326c30bfd39be31fe71472b8e47e1 )
Signed-off-by: Gerardo Exequiel Pozzi <djgera@exequiel.ban2.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Do not allocate more memory and leak when buflines>=MAX_BUF_LINES
Signed-off-by: Gerardo Exequiel Pozzi <djgera@exequiel.ban2.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This isn't strictly needed, as memory is cleaned up
on exit anyway, but let's shoot for good form :)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
From the accept(2) manpage:
The addrlen argument is a value-result argument: the caller must initialize it
to contain the size (in bytes) of the structure pointed to by addr; on return it
will contain the actual size of the peer address.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
A max of 200000 lines stored, at 8K per line, was a little
ridiculous and soaked up way to much memory if a syslogger
was not started. Drop the max to 10000 so that we don't kill
the user's system.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
gcc gives a warning about signed/unsigned ints, and it tries to write to
syslog's /dev/log with a dgram socket which gives an EPROTOCOL error.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
|