Compare commits

..

No commits in common. "9caa8338564ae1dce1338f24f3482b7213ce663c" and "3fcb303a912f124fb1708df34fcd0fe773c7c00d" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View file

@ -270,7 +270,7 @@ conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.
# Default: ^(?<remoteAddress>[a-fA-F0-9\:\.]+) - (?<remoteUser>[^\[]+) \[(?<time>[^\]]+)\] "(?<request>([^\"]|\")*)" (?<status>\d+) (?<bodyBytesSent>\d+) "(?<referer>([^\"]|\")*)" "(?<userAgent>([^\"]|\")*)".*$ # Default: ^(?<remoteAddress>[a-fA-F0-9\:\.]+) - (?<remoteUser>[^\[]+) \[(?<time>[^\]]+)\] "(?<request>([^\"]|\")*)" (?<status>\d+) (?<bodyBytesSent>\d+) "(?<referer>([^\"]|\")*)" "(?<userAgent>([^\"]|\")*)".*$
conf.probe.httpaccesslog.pattern= conf.probe.httpaccesslog.pattern=
# Custom datetime access log pattern (https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#patterns). The language ID is mandatory. # Custom datetime access log pattern (https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#patterns).
# Default: dd/MMM/yyyy:HH:mm:ss Z|EN # Default: dd/MMM/yyyy:HH:mm:ss Z|EN
conf.prob.httpaccesslog.datetimepattern= conf.prob.httpaccesslog.datetimepattern=
@ -278,12 +278,12 @@ conf.prob.httpaccesslog.datetimepattern=
# Example: pathfilter=/.*well-known.* # Example: pathfilter=/.*well-known.*
conf.probe.httpaccesslog.pathfilter= conf.probe.httpaccesslog.pathfilter=
# Custom error log pattern with Java regex. By default, automatic detection. # Custom error log pattern with Java regex.
# Default Apache: ^\[(?<time>[^\]]+)\]\s\[(?<level>[^\]]*)\]\s(?<message>.*)$ # Default Apache: ^\[(?<time>[^\]]+)\]\s\[(?<level>[^\]]*)\]\s(?<message>.*)$
# Default NGinx: ^(?<time>\S+\s\S+)\s\[(?<level>[^\]]*)\]\s(?<message>.*)$ # Default NGinx: ^(?<time>\S+\s\S+)\s\[(?<level>[^\]]*)\]\s(?<message>.*)$
conf.probe.httperrorlog.pattern= conf.probe.httperrorlog.pattern=
# Custom datetime access log pattern (https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#patterns). The language ID is mandatory. # Custom datetime access log pattern (https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#patterns).
# Default: dd/MMM/yyyy:HH:mm:ss Z|EN # Default: dd/MMM/yyyy:HH:mm:ss Z|EN
conf.prob.httperrorlog.datetimepattern= conf.prob.httperrorlog.datetimepattern=
``` ```

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2020-2024 Christian Pierre MOMON <christian@momon.org> * Copyright (C) 2020-2023 Christian Pierre MOMON <christian@momon.org>
* *
* This file is part of StatoolInfos, simple service statistics tool. * This file is part of StatoolInfos, simple service statistics tool.
* *
@ -152,7 +152,6 @@ public class FilesUtils
try try
{ {
iterator = new FilesLineIterator(files); iterator = new FilesLineIterator(files);
iterator.setPrintOff();
boolean ended = false; boolean ended = false;
while (!ended) while (!ended)
@ -169,7 +168,6 @@ public class FilesUtils
else else
{ {
result = null; result = null;
ended = true;
} }
} }
} }