Added logging to application server