From e0a3556742a81e6cb6e72590b2696ea39e9872ea Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Apr 2012 22:47:55 +0200 Subject: Add log level configuration --- src/config.l | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/config.l') diff --git a/src/config.l b/src/config.l index 447daed..7901faa 100644 --- a/src/config.l +++ b/src/config.l @@ -72,6 +72,14 @@ on { UPDATE_LOCATION; return TOK_ON; } up { UPDATE_LOCATION; return TOK_UP; } peers { UPDATE_LOCATION; return TOK_PEERS; } from { UPDATE_LOCATION; return TOK_FROM; } +log { UPDATE_LOCATION; return TOK_LOG; } +level { UPDATE_LOCATION; return TOK_LEVEL; } +fatal { UPDATE_LOCATION; return TOK_FATAL; } +error { UPDATE_LOCATION; return TOK_ERROR; } +warn { UPDATE_LOCATION; return TOK_WARN; } +info { UPDATE_LOCATION; return TOK_INFO; } +verbose { UPDATE_LOCATION; return TOK_VERBOSE; } +debug { UPDATE_LOCATION; return TOK_DEBUG; } [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} { UPDATE_LOCATION; -- cgit v1.2.3