Re: How to observed civetweb.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kobi.laredo@xxxxxxxxxxxxx> 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 <yehuda@xxxxxxxxxx> 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 <mika.leaf666@xxxxxxxxx> 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
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux