Configuring centralized logging from IIS

IIS and Web apps running within it generate 2 types of log messages: access and error log files (from IIS itself), and app log messages (typically from a C# or ASP.NET app). Papertrail can accept logs from either or both. Here’s how.

To aggregate Windows event logs, see Configuring remote syslog from Windows.

Web app logs

For apps running in IIS, we recommend using either NLog or log4net as a logging library. For NLog, visit Papertrail’s NLog .NET logging setup page. For log4net, visit Papertrail’s log4net logging setup page.

IIS access and error logs

For IIS access logs and error logs, aggregate them as standard text log files. See Configuring remote syslog from Windows.


Please ask if we can help with configuration or troubleshooting.