From bb07e58a9c59705b54164b06bcbe40c052880d90 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 7 Nov 2022 10:18:44 +0100 Subject: Support file reference in package message (#184) * Fix packed message parsing for absolute path * Always enable are sharing when opening files as IoBuffers. * Allow control over sending partial files as localfile ref * Check "AcceptFlags" field in RPC message for allowing localfile ref in reply * make oplog entry add operations ZEN_DEBUG level logs * changelog --- zenserver/projectstore.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'zenserver/projectstore.cpp') diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index d953651af..ef235557c 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -565,11 +565,11 @@ ProjectStore::Oplog::RegisterOplogEntry(CbObject Core, const OplogEntry& OpEntry } } - ZEN_INFO("added {} file(s), {} as files and {} as chunks in {}", - FileCount + ChunkCount, - FileCount, - ChunkCount, - NiceTimeSpanMs(Timer.GetElapsedTimeMs())); + ZEN_DEBUG("added {} file(s), {} as files and {} as chunks in {}", + FileCount + ChunkCount, + FileCount, + ChunkCount, + NiceTimeSpanMs(Timer.GetElapsedTimeMs())); } for (CbFieldView& Entry : Core["meta"sv]) @@ -1842,7 +1842,7 @@ HttpProjectService::HttpProjectService(CidStore& Store, ProjectStore* Projects) return HttpReq.WriteResponse(HttpResponseCode::BadRequest); } - ZEN_INFO("'{}/{}' op #{} ({}) - '{}'", ProjectId, OplogId, OpLsn, NiceBytes(Payload.Size()), Core["key"sv].AsString()); + ZEN_DEBUG("'{}/{}' op #{} ({}) - '{}'", ProjectId, OplogId, OpLsn, NiceBytes(Payload.Size()), Core["key"sv].AsString()); HttpReq.WriteResponse(HttpResponseCode::Created); }, -- cgit v1.2.3