Compare commits

..

No commits in common. "bf0810dd6fedf23faaf16d0715e0859590016dcf" and "48a75bc3ab848a9c0afcd40cd9febfd8ee1c3efb" have entirely different histories.

2 changed files with 5 additions and 19 deletions

View file

@ -72,29 +72,15 @@ 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/
- logar check /var/log/nginx/date.chapril.org/
### 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/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
```
- logar checksort /var/log/nginx/date.chapril.org/
- logar checksort /var/log/nginx/date.chapril.org/date.chapril.org-access-2021-01.log.gz
### Command sort
@ -112,7 +98,7 @@ This command tests a advanced feature of rebuild log line. Perhaps useful featur
## Requirements
- Java 17
- Java 11
- Eclipse 4.16 (202006).
## INSTALL

View file

@ -33,7 +33,7 @@ public class BuildInformation
{
private static final Logger logger = LoggerFactory.getLogger(BuildInformation.class);
private static String BUILD_INFORMATION_FILE = "/fr/devinsy/logar/build_information.properties";
private static String BUILD_INFORMATION_FILE = "/org/april/logar/build_information.properties";
private static class SingletonHolder
{