]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: trim path before logging it
authorRishabh Dave <ridave@redhat.com>
Tue, 2 Sep 2025 17:37:36 +0000 (23:07 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 22 Sep 2025 10:10:59 +0000 (15:40 +0530)
commit0cedc4d7b19bca7e0cde0970abdc3c93ddfc1ff5
tree96f772cf32e489242079607bb07f9e9c4fe0052a
parent64abf66ac91d25c5f1a328808191560c0e58c901
client: trim path before logging it

Path can be virtually infinitely long and logging a long long path
(imagine around 2000 path components) is un-useful as well as lowers
readability of the log. Therefore, trim before logging.

Fixes: https://tracker.ceph.com/issues/72993
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/client/Client.cc
src/client/Client.h