]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_rest_api.py: create own default for log_file
authorDan Mick <dan.mick@inktank.com>
Fri, 23 Aug 2013 00:30:24 +0000 (17:30 -0700)
committerSage Weil <sage@inktank.com>
Fri, 30 Aug 2013 14:56:29 +0000 (07:56 -0700)
commit83cfd4386c1fd0fa41aea345704e27f82b524ece
tree331c5119808c5be9007431f2b54e430d4465d0fa
parent8a1da62d9564a32f7b8963fe298e1ac3ad0ea3d9
ceph_rest_api.py: create own default for log_file

common/config thinks the default log_file for non-daemons should be "".
Override that so that the default is
    /var/log/ceph/{cluster}-{name}.{pid}.log
since ceph-rest-api is more of a daemon than a client.

Fixes: #6099
Backport: dumpling
Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 2031f391c3df68e0d9e381a1ef3fe58d8939f0a8)
src/pybind/ceph_rest_api.py