Add ring support

Add wrap-request-logging, wrap-reload and wrap-stacktrace functions.