adding server side logging.