ofir vainshtein has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1234086?usp=email )
Change subject: Add a rolling log index to Ganesha logs.
......................................................................
Add a rolling log index to Ganesha logs.
Introduces a new log format option, LOG_INDEX, which adds a monotonically increasing index
to each log line. The index is a 5-digit number that wraps around at 100000. This helps in
tracking the order of log messages. The super_ut configuration is updated to enable this
new option.
note because index is taken before write and not under exclusive lock with it. logs are
not guaranteed to appear in order in the file
Change-Id: Ieb251326238810d9c3251b36a0d40c2d4844d52d
Signed-off-by: Ofir Vainshtein <ofirvins(a)google.com>
---
M src/doc/man/ganesha-log-config.rst
M src/include/abstract_atomic.h
M src/log/log_functions.c
3 files changed, 45 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/86/1234086/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1234086?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ieb251326238810d9c3251b36a0d40c2d4844d52d
Gerrit-Change-Number: 1234086
Gerrit-PatchSet: 1
Gerrit-Owner: ofir vainshtein <ofirvins(a)google.com>