Of course, i figured this out. You meant just append it to the frontends
setting. Very confusing as it's unlike every other ceph setting.

rgw frontends = civetweb num_threads=150
error_log_file=/var/log/radosgw/civetweb.error.log
access_log_file=/var/log/radosgw/civetweb.access.log

Any documentation, at all, on civetweb + radosgw on the Ceph site would be
awesome.. Currently it all only references Apache+FastCGi.



On Tue, Jan 19, 2016 at 8:42 PM, Ben Hines <[email protected]> wrote:

> Hey Kobi,
>
> You stated:
>
> > >> You can add:
> > >> *access_log_file=/var/log/civetweb/access.log
> > >> error_log_file=/var/log/civetweb/error.log*
> > >>
> > >> to *rgw frontends* in ceph.conf though these logs are thin on info
> > >> (Source IP, date, and request)
>
>
>
> How is this done exactly in the config file? I've tried various ways, nothing 
> works.
>
>
> ie, neither of these work:
>
>
> [client.radosgw.<my host>]
> host = <my host>
> rgw socket path = /tmp/radosgw.sock
> keyring = /etc/ceph/ceph.client.radosgw.keyring
> log file = /var/log/radosgw/client.radosgw.<my host>.log   <--  this log gets 
> output only
> access_log_file=/var/log/civetweb/access.log
>
> rgw frontends error log file = /var/log/radosgw/civetweb.error.log  <-- nada
> rgw frontends access log file = /var/log/radosgw/civetweb.access.log <-- nada
>
> rgw print continue = True
> rgw enable ops log = False
>
>
> [rgw frontends]
>
> access_log_file=/var/log/civetweb/access.log  <-- nada
>
>
>
> -Ben
>
>
> On Tue, Sep 8, 2015 at 11:21 AM, Kobi Laredo <[email protected]>
> wrote:
>
>> Vickie,
>>
>> You can add:
>> *access_log_file=/var/log/civetweb/access.log
>> error_log_file=/var/log/civetweb/error.log*
>>
>> to *rgw frontends* in ceph.conf though these logs are thin on info
>> (Source IP, date, and request)
>>
>> Check out
>> https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md for
>> more civetweb configs you can inject through  *rgw frontends* config
>> attribute in ceph.conf
>>
>> We are currently testing tuning civetweb's num_threads
>> and request_timeout_ms to improve radosgw performance
>>
>> *Kobi Laredo*
>> *Cloud Systems Engineer* | (*408) 409-KOBI*
>>
>> On Tue, Sep 8, 2015 at 8:20 AM, Yehuda Sadeh-Weinraub <[email protected]>
>> wrote:
>>
>>> You can increase the civetweb logs by adding 'debug civetweb = 10' in
>>> your ceph.conf. The output will go into the rgw logs.
>>>
>>> Yehuda
>>>
>>> On Tue, Sep 8, 2015 at 2:24 AM, Vickie ch <[email protected]>
>>> wrote:
>>> > Dear cephers,
>>> >    Just upgrade radosgw from apache to civetweb.
>>> > It's really simple to installed and used. But I can't find any
>>> parameters or
>>> > logs to adjust(or observe) civetweb. (Like apache log).  I'm really
>>> confuse.
>>> > Any ideas?
>>> >
>>> >
>>> > Best wishes,
>>> > Mika
>>> >
>>> >
>>> > _______________________________________________
>>> > ceph-users mailing list
>>> > [email protected]
>>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>> >
>>> _______________________________________________
>>> ceph-users mailing list
>>> [email protected]
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> [email protected]
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to