Allow to filter logs

This commit is contained in:
Kamil Trzcinski
2022-04-07 18:30:36 +02:00
parent c817f73051
commit 1aec989bbc
5 changed files with 63 additions and 10 deletions

View File

@ -69,6 +69,7 @@ option_t all_options[] = {
DEFINE_OPTION(http, maxcons, uint),
DEFINE_OPTION_DEFAULT(log, debug, bool, "1"),
DEFINE_OPTION_DEFAULT(log, verbose, bool, "1"),
DEFINE_OPTION_PTR(log, filter, string),
{}
};