Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.
/ SMLogging Public archive

WCF (Service Model) request and error logging behaviors and trace listeners.

License

Notifications You must be signed in to change notification settings

Zywave/SMLogging

Repository files navigation

SMLogging (Service Model Logging)

Build status GitHub release NuGet

This library provides request and error logging behaviors for Windows Communication Foundation (WCF / Service Model) services. While WCF has built-in logging features, this libary is intended to provide simple, consumable log files rather than the bulky traces produced by the built-in logging. Think of it as IIS request logging for WCF services (including net.pipe and net.tcp traffic in addition to http).

Log Format

Request Log

LogDate(yyyy-MM-dd) LogTime(HH:mm:ss.FFF) ActivityId(Guid) CorrelationId(Guid) MessageId(Guid) Disposition(Client|Dispatch) RequestDate(yyyy-MM-dd) RequestTime(HH:mm:ss.FFF) ClientIpAddress(IP Address) ApplicationName(string) MachingName(string) ServerIpAddress(IP Address) TargetScheme(URI Scheme) TargetHost(URI Host) TargetPort(URI Port) Target(URI) Action(URI) Status(OneWay|Fault|Success) FaultCode(string) ResponseSize(int) RequestSize(int) TimeTaken(int)

Error Log

LogDate(yyyy-MM-dd) LogTime(HH:mm:ss.FFF) ActivityId(Guid) CorrelationId(Guid) MessageId(Guid) ClientIpAddress(IP Address) ApplicationName(string) MachingName(string) MachineIpAddress(IP Address) TargetScheme(URI Scheme) TargetHost(URI Host) TargetPort(URI Port) Target(URI) Action(URI) Error(multiline string)

About

WCF (Service Model) request and error logging behaviors and trace listeners.

Resources

License

Stars

Watchers

Forks

Packages

No packages published