]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal: downgrade log level
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 06:20:35 +0000 (15:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 06:20:35 +0000 (15:20 +0900)
src/journal/journald-server.c

index 105aefdd6e919d57e7e772f777ffd0c599efd69b..34ba24daf64c3f2f265195c2ed7c9d7f5f627f04 100644 (file)
@@ -2551,7 +2551,7 @@ int config_parse_line_max(
 
                 r = parse_size(rvalue, 1024, &v);
                 if (r < 0) {
-                        log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse LineMax= value, ignoring: %s", rvalue);
+                        log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse LineMax= value, ignoring: %s", rvalue);
                         return 0;
                 }
 
@@ -2606,7 +2606,7 @@ int config_parse_compress(
                 if (r < 0) {
                         r = parse_size(rvalue, 1024, &compress->threshold_bytes);
                         if (r < 0)
-                                log_syntax(unit, LOG_ERR, filename, line, r,
+                                log_syntax(unit, LOG_WARNING, filename, line, r,
                                            "Failed to parse Compress= value, ignoring: %s", rvalue);
                         else
                                 compress->enabled = true;