rsyslog/rsyslog-3.19.7-symlookup.patch
2008-06-13 09:07:32 +00:00

22 lines
968 B
Diff

diff -up rsyslog-3.19.7/plugins/imklog/imklog.c.symlookup rsyslog-3.19.7/plugins/imklog/imklog.c
--- rsyslog-3.19.7/plugins/imklog/imklog.c.symlookup 2008-06-13 10:59:49.000000000 +0200
+++ rsyslog-3.19.7/plugins/imklog/imklog.c 2008-06-13 11:00:29.000000000 +0200
@@ -65,7 +65,7 @@ DEFobjCurrIf(glbl)
int dbgPrintSymbols = 0; /* this one is extern so the helpers can access it! */
int symbols_twice = 0;
int use_syscall = 0;
-int symbol_lookup = 1;
+int symbol_lookup = 0;
int bPermitNonKernel = 0; /* permit logging of messages not having LOG_KERN facility */
int iFacilIntMsg; /* the facility to use for internal messages (set by driver) */
/* TODO: configuration for the following directives must be implemented. It
@@ -245,7 +245,7 @@ static rsRetVal resetConfigVariables(uch
symbols_twice = 0;
use_syscall = 0;
symfile = NULL;
- symbol_lookup = 1;
+ symbol_lookup = 0;
bPermitNonKernel = 0;
iFacilIntMsg = klogFacilIntMsg();
return RS_RET_OK;