shaharhoch@gmail.com has uploaded this change for review.
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@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 change 556046. To unsubscribe, or for help writing mail filters, visit settings.