Support of log4j was added. Logging in files and console