[syslog-ng]internal logging problem

Carlos Velasco carlosev@newipnet.com
Fri, 04 Oct 2002 11:55:33 +0200


Hi Bazsi,

I think this is the right patch for this problem:

root@atlas:/home/ftp/compile > diff -u syslog-ng-1.5.21/src/main.c main.c
--- syslog-ng-1.5.21/src/main.c Wed Sep  4 16:52:25 2002
+++ main.c      Fri Oct  4 11:48:20 2002
@@ -494,6 +494,7 @@
        }
 
        if (!debug_flag) {
+               set_internal_cfg(backend->configuration);
                set_error_internal();
        }
        else {


Regards,
Carlos Velasco

*********** REPLY SEPARATOR  ***********

On 02/10/2002 at 12:51 Carlos Velasco wrote:

>Hi Bazsi,
>
>>IIRC the startup messages are missing since 1.5.something (they go to
>>/dev/null
>>to avoid sending messages to an uninitialized configuration.)
>
>Well, actually not only the startup message, if I don't do the kill -HUP I
>don't see any messages from internal.
>
>>I might look into this, once I have some time.
>
>Good, I will try to do it too.
>
>Regards,
>Carlos Velasco
>
>
>
>_______________________________________________
>syslog-ng maillist  -  syslog-ng@lists.balabit.hu
>https://lists.balabit.hu/mailman/listinfo/syslog-ng
>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html