I have changed the error (message) handling:

https://github.com/rsyslog/rsyslog/commit/20d8a9904e95aff4390d044ab35c4722c8893676

Note the commit comments on why this change may cause problems. As such,
it's done to the development version, only (8.5.0).

Rainer


On Thu, Aug 21, 2014 at 2:52 PM, Edy Corak <[email protected]> wrote:

> On Do, Aug 21, 2014 13:04:48, Michael Biebl wrote:
>
> > Am 21.08.2014 10:28, schrieb Edy Corak:
> > > I have now found the problem. Sorry, that was my mistake.
> > >
> > > The certificate has been updated and because the server was not
> rebooted long time, I got the error not noticed.
> > > After a reboot, just this error message appears in the log files.
> > > Perhaps it is possible to specify the error message, so that the error
> is easier to see ?
> >
> > Have you also tried to run it in debug mode (-d)?
> > If you also didn't get a proper error message this way, please file a
> > bug upstream [1] and report back with the bug number.
> >
> >
> > Michael
> >
> >
> > [1] http://bugzilla.adiscon.com/
> > --
> > Why is it that all of the instruments seeking intelligent life in the
> > universe are pointed away from Earth?
> >
> Hi,
>
> I have try the debug mode (-d). The path was changed to non existing, to
> see what error message will be shown.
> Only at the start in debug mode (-d) there is following message:
>
> unexpected GnuTLS error -64 in nsd_gtls.c:583: Error while reading file.
> Called LogError, msg: could not load module
> '/usr/lib/rsyslog/lmnsd_gtls.so', rsyslog error -2078
>
> And later there is only the last one about could not load module
>
> Called LogError, msg: could not load module
> '/usr/lib/rsyslog/lmnsd_gtls.so', rsyslog error -2078
>
> When I start rsyslogd with (-c5 -d) there is only one message
>
> rsyslogd-2068: could not load module '/usr/lib/rsyslog/lmnsd_gtls.so',
> rsyslog error -2078 [try http://www.rsyslog.com/e/2068 ]
>
> Maybe this can be changed to show always the complete error message.
>
> I missed the error message at the beginning in debug mode (-d).
>
> But now it's ok, everything works like it should.
>
> Thanks for your help
>
> Best regards
>
> Edy Corak
>

Reply via email to