duration should only be shown in debug mode
030 opened this issue · 0 comments
What happened:
The duration information is displayed regardless of the system's logging mode, causing unnecessary clutter in non-debug environments.
What you expected to happen:
I expected the duration to be shown only in debug mode. In non-debug modes, the system should suppress the display of duration information to maintain a clean and concise output.
How to reproduce it (as minimally and precisely as possible):
- Set the system's logging mode to a non-debug setting.
- Perform an action that triggers the display of duration information.
- Observe that the duration is still being shown in the non-debug mode.
Anything else we need to know?:
It is essential to ensure that the suppression of duration information in non-debug mode does not impact the system's functionality. The adjustment should be made to align with best practices for logging and debugging, providing a more streamlined and informative experience for developers without unnecessary details in production or non-debug environments.
Environment:
- nexus version:
- n3dr version (use
n3dr -v
): - OS (e.g:
cat /etc/os-release
): - Kernel (e.g.
uname -a
): - Others: