[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

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

 Description   

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



 Comments   
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 Jun 16 16:29:18 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.