[PDB-477] Support for NCSA (or Apache access_log) logging in jetty Created: 2014/02/26  Updated: 2016/01/20  Resolved: 2015/01/28

Status: Closed
Project: PuppetDB
Component/s: None
Affects Version/s: None
Fix Version/s: PDB 3.0.0

Type: New Feature Priority: Normal
Reporter: Ken Barber Assignee: AJ Roetker
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 2
Sprint: PuppetDB 2015-01-28


It would be nice to add NCSA style logging to PuppetDB for request logs. This would help users debug queries and help with analyzing query load via logstash/splunk/webalizer and other tools like that.

NCSA == apache style logging for you younger dudes.

This will also need possibly logrotate changes to deal with the new log.

Ref: https://wiki.eclipse.org/Jetty/Howto/Configure_Request_Logs

Comment by Ken Barber [ 2014/10/03 ]

Looks like we've got this now with tk-webserver-jetty9 version 7.7: https://github.com/puppetlabs/trapperkeeper-webserver-jetty9/blob/master/doc/jetty-config.md#access-log-config

However, we'll need to make sure its all sound in regards to log rotation and packaging etc. We can probably let logback do the rotation potentially.

Comment by Ken Barber [ 2014/10/23 ]

We're now using tk-wj9 0.9.0, so we are now able to do this whenever we are ready.

Generated at Sun Jul 12 23:22:19 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.