rsyslog/tests/testsuites/unused_lookup_table.conf
Janmejay Singh 991b2af65d part of lookup-table proposal implemented (part 1):
- design-change to make room for array and sparse-array tables in addition to string(which original design assumed)
- memory-leak fix (in unused lookup-table senario), same problem could lead to illegal free(during shutdown) in multiple call-sites for lookup-fn
- allow rainerscript functions to declaratively opt-out of funcdata destruct
- tests for unused lookup-table senario and valgrind test for lookup-table
- interned-value-strings (so each value string is represented in memory only once, as per the proposal)
- memory-leak fix in failure senarios (allocation failure etc in table-loadup)
2015-10-30 16:31:30 +05:30

8 lines
205 B
Plaintext

$IncludeConfig diag-common.conf
lookup_table(name="xlate" file="xlate.lkp_tbl")
template(name="outfmt" type="string" string="- %msg%\n")
action(type="omfile" file="./rsyslog.out.log" template="outfmt")