Rebased and changed debug option

Signed-off-by: Luis Pabón <lpabon@redhat.com>
This commit is contained in:
Luis Pabón 2014-08-20 14:17:01 -04:00
parent 4fa4553de8
commit e665e62746

View File

@ -612,7 +612,11 @@ do_rgw()
{
# Start server
echo start rgw on http://localhost:8080
$CEPH_BIN/radosgw --log-file=/tmp/rgw.log --debug-rgw=20 --debug-ms=1
RGWDEBUG=""
if [ "$debug" -ne 0 ]; then
RGWDEBUG="--debug-rgw=20"
fi
$CEPH_BIN/radosgw --log-file=${CEPH_OUT_DIR}/rgw.log ${RGWDEBUG} --debug-ms=1
# Create S3 user
local akey='0555b35654ad1656d804'