diff --git a/README.md b/README.md index 9c74a8b..4cfd887 100644 --- a/README.md +++ b/README.md @@ -72,15 +72,29 @@ Example: This command check bad format line in log files (access or error). It is useful to detect malformed log file or test the logar parsing feature. Example: -- logar check /var/log/nginx/date.chapril.org/ +- logar check /var/log/nginx/ ### Command checksort This command check if log lines are sorted by datetime. It is useful to detect unsorted log file. Reminder: sorted file are mandatory to Webalizer. Example: -- logar checksort /var/log/nginx/date.chapril.org/ -- logar checksort /var/log/nginx/date.chapril.org/date.chapril.org-access-2021-01.log.gz +- logar checksort /var/log/nginx/www.devinsy.fr/ +- logar checksort /var/log/nginx/www.devinsy.fr/www.devinsy.fr-access-2021-01.log.gz + + +### Command identify + +This command identifies the files log format. + +Example : +``` +> logar identify . +Access/* www.libre-service.eu-access.log +Access/* www.libre-service.eu-access.log.1 +Error/Apache www.libre-service.eu-error.log +Error/Apache www.libre-service.eu-error.log.1 +``` ### Command sort @@ -98,7 +112,7 @@ This command tests a advanced feature of rebuild log line. Perhaps useful featur ## Requirements -- Java 11 +- Java 17 - Eclipse 4.16 (202006). ## INSTALL