Closed leRoe93 closed 3 years ago
Nice, looks good! :rocket:
I think we should name the log directory log
instead due to
Also it appears that your formatter was set to tabs.
I just formatted the entire source again in b581a33 since I know you are busy. Can merge this now whenever you feel like.
Thanks for that!
Logging via args4j is now integrated into the project.
Current setting is that INFO, WARN, ERROR, FATAL are displayed on the console and all levels including DEBUG and trace are written to a visab.log file in parallel.
visab.log is always the recent log file for a daily basis or excess of file size (500mb - pretty big). If a new log gets generated either for time based or size based trigger, the last visab.log will be saved with a timestamp to keep it in the visablogs directory (which is currently the base dir for logs).
All System.out and System.err streams got replaced with logging calls and any class that may need some logging has now a logging object instantiated - please feel free to use it excessively during this project.
General indication of log levels can be found here: https://www.tutorialspoint.com/log4j/log4j_logging_levels.htm