]> 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>
Wed, 1 Oct 2025 19:01:46 +0000 (00:31 +0530)
commit16e955f49f6c14ac70aa3208e0c93a30aab70661
tree465ccbb11f52040910ad09a22b637eed06b39e94
parent3c7e60a4d336720751a21696683d299d8cd191a8
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.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/client/Client.cc
src/client/Client.h