Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/s3-logrotate/s3m0tracelogfilerollover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ where:
--help|-h display this help and exit" 1>&2; exit 1; }

# max m0trace files count in each s3 instance log directory
m0trace_files_max_count=5
m0trace_files_max_count=2
s3server_config="/opt/seagate/cortx/s3/conf/s3config.yaml"
s3_daemon_working_dir=`cat $s3server_config | grep "S3_DAEMON_WORKING_DIR:" | cut -f2 -d: | sed -e 's/^[ \t]*//' -e 's/#.*//' -e 's/^[ \t]*"\(.*\)"[ \t]*$/\1/'`

Expand Down
4 changes: 4 additions & 0 deletions server/s3_motr_kvs_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,10 @@ void S3MotrKVSWriter::put_keyval(struct m0_uint128 oid, std::string key,
std::function<void(void)> on_success,
std::function<void(void)> on_failed) {
s3_log(S3_LOG_INFO, stripped_request_id,
"%s Entry with oid = %" SCNx64 " : %" SCNx64 " key = %s\n", __func__,
oid.u_hi, oid.u_lo, key.c_str());

s3_log(S3_LOG_DEBUG, stripped_request_id,
"%s Entry with oid = %" SCNx64 " : %" SCNx64
" key = %s and value = %s\n",
__func__, oid.u_hi, oid.u_lo, key.c_str(), val.c_str());
Expand Down
2 changes: 1 addition & 1 deletion server/s3server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static evhtp_res on_client_request_fini(evhtp_request_t *p_evhtp_req,

extern "C" evhtp_res dispatch_s3_api_request(evhtp_request_t *req,
evhtp_headers_t *hdrs, void *arg) {
s3_log(S3_LOG_INFO, "", "Req uri [%s]\n", req->uri->path->full);
s3_log(S3_LOG_DEBUG, "", "Req uri [%s]\n", req->uri->path->full);

if (req->uri->query_raw) {
s3_log(S3_LOG_DEBUG, "", "Received Request with query params [%s].\n",
Expand Down