summaryrefslogtreecommitdiffstats
path: root/plugins/imklog/linux.c
Commit message (Collapse)AuthorAgeFilesLines
* added $klogConsoleLogLevel directiveRainer Gerhards2009-07-031-8/+5
| | | | ...which permits to set a new console log level while rsyslog is active
* introduced the idea of detached propertiesRainer Gerhards2009-06-291-3/+4
| | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* add support for KLogPathMichael Terry2009-06-291-3/+8
|
* added O_CLOEXEC to open() callsRainer Gerhards2009-04-021-1/+1
| | | | | | | | to make sure only the minimum number of file handles is left open during a exec call. This is not a 100% solution, as there are also some fopen() calls and, more importantly, file descriptors opened by libraries. But it is better than nothing (and it was quick, at least until we run into platform hell, what we will for sure ;)).
* Merge branch 'v3-stable' into betaRainer Gerhards2008-07-251-1/+1
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * Update man pages, fix a small typoMichael Biebl2008-07-211-1/+1
| | | | | | | | | | | | | | - Update the version number and date in the man pages - s/imklogd/imklog/ Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'beta'Rainer Gerhards2008-06-121-1/+0
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imklog/linux.c
| * changed default for i$KlogSymbolLookup to "off"Rainer Gerhards2008-06-121-1/+0
| |
* | Merge branch 'beta'Rainer Gerhards2008-05-021-2/+2
|\| | | | | | | | | | | | | | | | | | | Conflicts: plugins/imklog/linux.c runtime/cfsysline.c runtime/ctok.c runtime/linkedlist.c runtime/sysvar.c
| * uncommented dbgprintf's as I think these may be the trouble sourceRainer Gerhards2008-04-291-3/+3
| | | | | | | | this callback is somewhat unportable in combination with dlopen()
| * perparing for klog debugRainer Gerhards2008-04-281-1/+2
| | | | | | | | ... and some cleanup
* | preparation for bughuntRainer Gerhards2008-04-281-1/+2
| | | | | | | | including some cleanups
* | completed better modularity of runtimeRainer Gerhards2008-04-171-6/+2
| | | | | | | | | | | | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* | some more cleanupRainer Gerhards2008-04-161-1/+0
|/ | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* cleanup of imklog + addtl. config directivesRainer Gerhards2008-04-141-17/+29
| | | | | | - implemented $KLogInternalMsgFacility config directive - implemented $KLogPermitNonKernelFacility config directive - modified internal interfaces
* implemented klog driver for BSDRainer Gerhards2008-04-091-2/+1
|
* changed imklog to a driver interfaceRainer Gerhards2008-04-081-0/+533
imklog now uses os-specific drivers. The initial "set" contains the linux driver. This is a prequisite for BSD klog, which can now be implemented on that driver interface.