logfile plugin: fix the `Timestamp' configuration option.
authorLuke Heberling <collectd@c-ware.com>
Thu, 13 Dec 2007 07:01:16 +0000 (08:01 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 13 Dec 2007 07:01:16 +0000 (08:01 +0100)
src/logfile.c

index 03c2f92..789cb95 100644 (file)
@@ -70,7 +70,7 @@ static int logfile_config (const char *key, const char *value)
                sfree (log_file);
                log_file = strdup (value);
        }
-       else if (0 == strcasecmp (key, "File")) {
+       else if (0 == strcasecmp (key, "Timestamp")) {
                if ((strcasecmp (value, "false") == 0)
                                || (strcasecmp (value, "no") == 0)
                                || (strcasecmp (value, "off") == 0))