remove printStackTrace method

replace it with logger
LOGGER.error(e.getMessage());
LOGGER.debug(e.getMessage(), e);