X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.c;h=864f6b5d161ebbbe538321c058cbd752e047336f;hb=3cda9c7bba49d5f9b8321bb66b14db9b9bc2f528;hp=1ed252cd396c0c40d283f28a9f4653f18e7c7492;hpb=42d43e0ec08e249cecf74ec448cb6405b3c89d84;p=onak.git diff --git a/onak-conf.c b/onak-conf.c index 1ed252c..864f6b5 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -5,7 +5,7 @@ * * Copyright 2002 Project Purple * - * $Id: onak-conf.c,v 1.8 2003/10/15 21:15:21 noodles Exp $ + * $Id: onak-conf.c,v 1.9 2004/05/27 01:34:18 noodles Exp $ */ #include @@ -114,6 +114,8 @@ void readconfig(const char *configfile) { lladd(config.syncsites, strdup(&curline[9])); } else if (!strncmp("logfile ", curline, 8)) { config.logfile = strdup(&curline[8]); + } else if (!strncmp("loglevel ", curline, 9)) { + setlogthreshold(atoi(&curline[9])); } else if (!strncmp("this_site ", curline, 10)) { config.thissite = strdup(&curline[10]); } else if (!strncmp("socket_name ", curline, 12) ||