diff --git a/ngxtop/config_parser.py b/ngxtop/config_parser.py index 0d9f00a..ff42b8b 100644 --- a/ngxtop/config_parser.py +++ b/ngxtop/config_parser.py @@ -80,6 +80,7 @@ def get_log_formats(config): # log_format name [params] log_format = Literal('log_format') + parameter + Group(OneOrMore(parameter)) + semicolon log_format.ignore(pythonStyleComment) + log_format.parseWithTabs() for directive in log_format.searchString(config).asList(): name = directive[1]