sevensolutions/nomad-iis

Logging Support

sevensolutions opened this issue · 3 comments

IIS worker processes don't log to stdout which is pretty bad.
But maybe we can provide a named pipe to the application so the app developer can configure logging to it manually.

Nomad is already creating a named pipe for logging, but only the Administrator account is permitted to access it.
So we should try to wrap it into a new one and permit the AppPool user.

Named pipes dont play nicely with regular file-loggers because the pipe breaks if the connection gets closed.
Therefore i've built an experimental UDP-based log-sink.

This is what we can do in IIS Docker Containers:
https://blogs.iis.net/jeonghwan/how-to-use-iis-insider-docker-tag