Pull in the CouchDB include file
Include everything from couch_db.hrl
An event handler to feed couch_plugin events to the plugin
Run: ./init.sh and merge in the new template changes
Send the code in the log_request event
Sync with the new template
access.log and error.log working correctly
Log a request to access.log