shaharhoch(a)gmail.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/556046?usp=email )
Change subject: Add an option to print op id as part of a log entry
......................................................................
Add an option to print op id as part of a log entry
This will add a unique identifier to the log entry. This can allow us to
track the flow of a specific operation (with the same op_ctx).
An example of a log print with the option enabled:
13/06/2023 T07:13:11.196878+0000 : epoch 64881707 : buildvm-shaharhoch :
ganesha.nfsd-10230[main] /home/shaharhoch/ganesha/src/support/exports.c:963
:export_check_options :RW LOCK :F_DBG :op_id=4 :Unlocked 0xaeb6f8 (&exp->exp_lock)
at /home/shaharhoch/ganesha/src/support/exports.c:963
Change-Id: Iebb0d999189f58b2b62a01dc8aae05b7f5b20096
Signed-off-by: Shahar Hochma <shaharhoch(a)google.com>
---
M src/config_samples/config.txt
M src/config_samples/logging.txt
M src/doc/man/ganesha-log-config.rst
M src/log/log_functions.c
4 files changed, 18 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/46/556046/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/556046?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iebb0d999189f58b2b62a01dc8aae05b7f5b20096
Gerrit-Change-Number: 556046
Gerrit-PatchSet: 1
Gerrit-Owner: shaharhoch(a)gmail.com
Gerrit-MessageType: newchange