Code

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 03c2f9233c0d4ac9b5e23a4f157bf2214e464555..789cb951cab6fdb8992a1ba0139d150dd2e6cd9e 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))