This part should be a separate section rather than included in the
riak_kv section:
%% Enable logging
{webmachine, [{webmachine_logger_module, webmachine_logger}]},


Look at line 209 here:
http://pastie.org/2353333


The logger produces files in the "log/access" directory:
ls -al log/access/
total 8
drwxr-xr-x  7 dreverri  staff  238 Aug 10 18:00 .
drwxr-xr-x  8 dreverri  staff  272 Aug 10 14:59 ..
-rw-r--r--  1 dreverri  staff    0 Aug 10 14:59 access.log.2011_08_10_21
-rw-r--r--  1 dreverri  staff  168 Aug 10 15:00 access.log.2011_08_10_22
-rw-r--r--  1 dreverri  staff    0 Aug 10 16:00 access.log.2011_08_10_23
-rw-r--r--  1 dreverri  staff    0 Aug 10 17:00 access.log.2011_08_11_00
-rw-r--r--  1 dreverri  staff    0 Aug 10 18:00 access.log.2011_08_11_01


Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
[email protected]


On Wed, Aug 10, 2011 at 6:20 PM, Craig Muth <[email protected]> wrote:
>
> > Did you add the "http_logdir" option to the "riak_core" section?
> Yes.
> > A pastie of your app.config might help as well.
> http://pastie.org/2353285
>
> Will the log show a line for each request to riak (GET, PUT, etc)?  What is 
> the name of the log file that's supposed to appear?
> Thanks,
> --Craig
>
>
>
>
> On Wed, Aug 10, 2011 at 3:01 PM, Dan Reverri <[email protected]> wrote:
>>
>> Hi Craig,
>> Did you add the "http_logdir" option to the "riak_core" section? A pastie of 
>> your app.config might help as well.
>> Thanks,
>> Dan
>> Daniel Reverri
>> Developer Advocate
>> Basho Technologies, Inc.
>> [email protected]
>>
>>
>> On Tue, Aug 9, 2011 at 6:40 PM, Craig Muth <[email protected]> wrote:
>>>
>>> I added {http_logdir, "log/access"}, and {webmachine, 
>>> [{webmachine_logger_module, webmachine_logger}]}, to rel/riak/etc/app.config
>>> Where should the access log file be showing up?  It's not showing up in 
>>> rel/riak/log.
>>> Also will the log show a line for each request to riak (GET, PUT, etc)?
>>> --Craig
>>>
>>> _______________________________________________
>>> riak-users mailing list
>>> [email protected]
>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>>
>>
>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to