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

View file

@ -33,7 +33,7 @@ public class BuildInformation
{ {
private static final Logger logger = LoggerFactory.getLogger(BuildInformation.class); 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 private static class SingletonHolder
{ {