introduce server-side logging