Discussion:
Where should NETSNMP_FEATURE_REMOVE_LOGGING_SYSLOG be defined?
Moreno Floris
2016-12-02 13:15:26 UTC
Permalink
Hello,

I want to switch off all the parts of the code that are under #ifndef NETSNMP_FEATURE_REMOVE_LOGGING_SYSLOG because I don't have openlog() syslog() and closelog() on my platform.

I didn't find the usual switch in netsnmp-config.h.

I'm going to place it there anyway, but I was wondering what would be the proper place to define it.

Thank You very much

MF
Robert Story
2016-12-05 03:44:51 UTC
Permalink
On Fri, 2 Dec 2016 13:15:26 +0000 Moreno wrote:
MF> Hello,
MF>
MF> I want to switch off all the parts of the code that are under
MF> #ifndef NETSNMP_FEATURE_REMOVE_LOGGING_SYSLOG because I don't
MF> have openlog() syslog() and closelog() on my platform.
MF>
MF> I didn't find the usual switch in netsnmp-config.h.

I think you can do this at configure time with

--enable-NETSNMP_FEATURE_REMOVE_LOGGING_SYSLOG


------------------------------------------------------------------------------
Loading...