Hi,
We would like to know if there is a way to log request information such as requestor, request url, etc. using ServiceStack’s logging abstraction, specifically NLog.
Currently, the layout property of our nlog.config file looks like this:
layout="${longdate}|${logger}|${aspnet-request:serverVariable=remote_addr}|${aspnet-user-identity}|${message}"
However, ${aspnet-request:serverVariable=remote_addr} and ${aspnet-user-identity} are always empty.
Thanks