Hi Jeremy Am Mittwoch, 21. Dezember 2016 22:31:34 UTC+1 schrieb Jeremy Barlow: > > I don't think there's any way to register the TeeFilter without making > changes to the library, trapperkeeper-webserver-jetty9 > <https://github.com/puppetlabs/trapperkeeper-webserver-jetty9>, that > Puppet Server uses to integrate the Jetty web server. If you just wanted to > get the response body but didn't need the full request body, you could turn > on "trace" level logging for the "puppetlabs.ring-middleware.core" > namespace in the */etc/puppetlabs/puppetserver/logback.xml *file: > > <logger name="puppetlabs.ring-middleware.core" level="trace"/> > > With that in place you'd see the response body appear in the > */etc/puppetlabs/puppetserver/puppetserver.log* file, like this: > > 2016-12-21 13:21:08,327 TRACE [qtp993744537-38] [p.r.core] Computed > response: {:status 200, :headers {Content-Type text/pson, X-Puppet-Version > 4.8.1}, :body {"tags":["settings"... > > I think we could add some functionality to the > trapperkeeper-webserver-jetty9 library to enable integration with the > logback TeeFilter. If you are interested in pursuing this further, would > you mind submitting a request for this in a SERVER or TK project ticket at > https://tickets.puppetlabs.com? >
I would have been interested in the POST params the an agents catalog request. I've found https://github.com/puppetlabs/gatling-puppet-load-test which looks like it could help me. It would allow to run a more realistic test than i thought about. But looks also like learning gatling/scala and co. - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/535ed75d-c2ea-445e-8754-1b7e1bfa70b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
