Added logging functionality.
    For detailed information, refer to http://techtipshoge.blogspot.jp/2013/01/learn-struts7.html