You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change default logging level from WARN to INFO. (#1605)
Fixes#1244
- Purpose: Improve visibility of important operational messages (mount
success, location) without requiring --debug flag
- Users can now see essential mount information by default
### What changed and why?
1. Default Logging Level:
- Changed default logging level from WARN to INFO in cli.rs
- Added test_info_level_logging to verify the change
- Default INFO logs now show important operational messages:
INFO ThreadId(01) mountpoint_s3::cli: target network throughput 10 Gbps
INFO ThreadId(01) fuser::session: Mounting /tmp/test-mount-new
INFO ThreadId(01) mountpoint_s3::run: successfully mounted bucket
2. Metrics Logging:
- Metrics now show when either --log-metrics is set OR debug level is
enabled
- Explicitly turn off metrics when neither condition is met
3. Log Level Optimization:
- Changed setattr logging from INFO to DEBUG level as it's
implementation detail is more appropriate for debugging rather than
regular operation
### Does this change impact existing behavior?
- All existing log levels (--debug, --no-log) continue to work as before
- Only changes the default level to show more information
- Setattr logging moved to DEBUG level to reduce noise
### Does this change need a changelog entry? Does it require a version
change?
- Changelog entries added:
* mountpoint-s3: Change default logging level from WARN to INFO to
improve visibility of important operational messages
* mountpoint-s3-fs: Downgrade setattr logging level from INFO to DEBUG
to reduce log noise
- Version changes:
* mountpoint-s3: v1.20.0 -> v1.21.0 (for default logging level change)
* mountpoint-s3-fs: v0.7.1 -> v0.7.2 (for setattr logging change)
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).
---------
Signed-off-by: Priyanka Karumuru <prikaru@amazon.com>
Copy file name to clipboardExpand all lines: mountpoint-s3/CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
## Unreleased
1
+
## Unreleased (v1.21.0)
2
+
3
+
* Change default logging level from WARN to INFO to improve visibility of important operational messages. ([#1605](https://github.com/awslabs/mountpoint-s3/pull/1605))
0 commit comments