summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 22:47:55 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 22:47:55 +0200
commite0a3556742a81e6cb6e72590b2696ea39e9872ea (patch)
treed5d16e2f914aa30390558924985339ffe8ec83b7 /src/config.l
parent350353d2c1282b2802bba83f49a3508b3beeb24a (diff)
downloadfastd-e0a3556742a81e6cb6e72590b2696ea39e9872ea.tar
fastd-e0a3556742a81e6cb6e72590b2696ea39e9872ea.zip
Add log level configuration
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l8
1 files changed, 8 insertions, 0 deletions
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;