-
-
-
- ${aspnet-application:variable=myvariable} - produces "123"
- ${aspnet-application:variable=anothervariable} - produces "01/01/2006 00:00:00"
- ${aspnet-application:variable=anothervariable:culture=pl-PL} - produces "2006-01-01 00:00:00"
- ${aspnet-application:variable=myvariable:padding=5} - produces " 123"
- ${aspnet-application:variable=myvariable:padding=-5} - produces "123 "
- ${aspnet-application:variable=stringvariable:upperCase=true} - produces "AAA BBB"
-
-
-
-
-
- ${aspnet-item:variable=myvariable} - produces "123"
- ${aspnet-item:variable=anothervariable} - produces "01/01/2006 00:00:00"
- ${aspnet-item:variable=anothervariable:culture=pl-PL} - produces "2006-01-01 00:00:00"
- ${aspnet-item:variable=myvariable:padding=5} - produces " 123"
- ${aspnet-item:variable=myvariable:padding=-5} - produces "123 "
- ${aspnet-item:variable=stringvariable:upperCase=true} - produces "AAA BBB"
-
-
- ${aspnet-request:item=v}
- ${aspnet-request:querystring=v}
- ${aspnet-request:form=v}
- ${aspnet-request:cookie=v}
- ${aspnet-request:serverVariable=v}
-
-
-
-
-
- ${aspnet-session:variable=myvariable} - produces "123"
- ${aspnet-session:variable=anothervariable} - produces "01/01/2006 00:00:00"
- ${aspnet-session:variable=anothervariable:culture=pl-PL} - produces "2006-01-01 00:00:00"
- ${aspnet-session:variable=myvariable:padding=5} - produces " 123"
- ${aspnet-session:variable=myvariable:padding=-5} - produces "123 "
- ${aspnet-session:variable=stringvariable:upperCase=true} - produces "AAA BBB"
-
- - Typically this target is used in cooperation with PostFilteringTargetWrapper - to provide verbose logging for failing requests and normal or no logging for - successful requests. We need to make the decision of the final filtering rule - to apply after all logs for a page have been generated. -
-- To use this target, you need to add an entry in the httpModules section of - web.config: -
-
-
-
-
-
-
-
-
-
- ]]>
-
- To set up the ASP.NET Buffering target wrapper configuration file, put
- the following in
- - This assumes just one target and a single rule. More configuration - options are described here. -
-
- To configure the target programmatically, put the following
- piece of code in your
-
- Fully working C# project can be found in the
+
+
+
+ ${aspnet-application:variable=myvariable} - produces "123"
+ ${aspnet-application:variable=anothervariable} - produces "01/01/2006 00:00:00"
+ ${aspnet-application:variable=anothervariable:culture=pl-PL} - produces "2006-01-01 00:00:00"
+ ${aspnet-application:variable=myvariable:padding=5} - produces " 123"
+ ${aspnet-application:variable=myvariable:padding=-5} - produces "123 "
+ ${aspnet-application:variable=stringvariable:upperCase=true} - produces "AAA BBB"
+
+
+
+
+
+ ${aspnet-item:variable=myvariable} - produces "123"
+ ${aspnet-item:variable=anothervariable} - produces "01/01/2006 00:00:00"
+ ${aspnet-item:variable=anothervariable:culture=pl-PL} - produces "2006-01-01 00:00:00"
+ ${aspnet-item:variable=myvariable:padding=5} - produces " 123"
+ ${aspnet-item:variable=myvariable:padding=-5} - produces "123 "
+ ${aspnet-item:variable=stringvariable:upperCase=true} - produces "AAA BBB"
+
+
+ ${aspnet-mvc-controller}
+
+
+ ${aspnet-mvc-action}
+
+
+ ${aspnet-request:item=v}
+ ${aspnet-request:querystring=v}
+ ${aspnet-request:form=v}
+ ${aspnet-request:cookie=v}
+ ${aspnet-request:header=h}
+ ${aspnet-request:serverVariable=v}
+
+
+ ${aspnet-request-ip}
+
+
+
+
+
+ ${aspnet-session:variable=myvariable} - produces "123"
+ ${aspnet-session:variable=anothervariable} - produces "01/01/2006 00:00:00"
+ ${aspnet-session:variable=anothervariable:culture=pl-PL} - produces "2006-01-01 00:00:00"
+ ${aspnet-session:variable=myvariable:padding=5} - produces " 123"
+ ${aspnet-session:variable=myvariable:padding=-5} - produces "123 "
+ ${aspnet-session:variable=stringvariable:upperCase=true} - produces "AAA BBB"
+
+
+ ${aspnet-request-referrer} - Produces - Referrer URL String from the Request.
+
+
+ ${aspnet-request-url:IncludeQueryString=true} - produces http://www.exmaple.com/?t=1
+ ${aspnet-request-url:IncludeQueryString=false} - produces http://www.exmaple.com/
+ ${aspnet-request-url:IncludePort=true} - produces http://www.exmaple.com:80/
+ ${aspnet-request-url:IncludePort=false} - produces http://www.exmaple.com/
+ ${aspnet-request-url:IncludePort=true:IncludeQueryString=true} - produces http://www.exmaple.com:80/?t=1
+
+
+ ${aspnet-request-useragent} - Produces - User Agent String from the Request.
+
+
+ ${aspnet-request-cookie:OutputFormat=Flat}
+ ${aspnet-request-cookie:OutputFormat=Json}
+
+
+ ${aspnet-host}
+
+
+ ${aspnet-request-querystring:OutputFormat=Flat}
+ ${aspnet-request-querystring:OutputFormat=Json}
+
+
+ ${aspnet-request-method} - Produces - Post.
+
+
+ ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+ + Typically this target is used in cooperation with PostFilteringTargetWrapper + to provide verbose logging for failing requests and normal or no logging for + successful requests. We need to make the decision of the final filtering rule + to apply after all logs for a page have been generated. +
++ To use this target, you need to add an entry in the httpModules section of + web.config: +
+
+
+
+
+
+
+
+
+
+ ]]>
+
+ To set up the ASP.NET Buffering target wrapper configuration file, put
+ the following in
+ + This assumes just one target and a single rule. More configuration + options are described here. +
+
+ To configure the target programmatically, put the following
+ piece of code in your
+
+ Fully working C# project can be found in the