improving the logging system with different level of verbosity