add log4j2 application log for RESTful web service