server side logging added