HTTP Access Log/Performance Log issues

riakuser01 jethrorevill at hotmail.com
Thu Sep 25 05:15:23 EDT 2014


Hi,

I am trying to use the HTTP Access logging on my Riak cluster to log the
request information, and I'm running into some issues. When the cluster
starts up, it begins logging HTTP requests as expected. However, at the end
of the current hour, these logs cease to be written to. I imagine it is
trying to roll the log file at the end of the hour, but failing.

I am currently using Riak 1.4.8, and have the following in my app.config
file:

 {webmachine, [{webmachine_logger_module, webmachine_logger},
              {log_handlers, [
                {webmachine_access_log_handler, ["/var/log/riak/access"]},
                {webmachine_perf_log_handler, ["/var/log/riak/access"]}
              ]}
           ]},




> date
Thu Sep 25 10:14:17 BST 2014

> ls -ltr /var/log/riak/access/
-rw-rw-r--. 1 riak riak   362293 Sep 25 09:59 perf.log.2014_09_25_08
-rw-rw-r--. 1 riak riak   468292 Sep 25 09:59 access.log.2014_09_25_08





--
View this message in context: http://riak-users.197444.n3.nabble.com/HTTP-Access-Log-Performance-Log-issues-tp4031830.html
Sent from the Riak Users mailing list archive at Nabble.com.




More information about the riak-users mailing list