Replacing "e.printStackTrace();" by "log.error(e);" in all affected classes