[#41] log: Log storage operations in only in Debug

They are mostly useless unless we need to _debug_ a specific issue.
The amount of logs we produce is too big.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-04-10 11:25:51 +03:00
parent cdae227f82
commit 4b98b87af1

View file

@ -10,7 +10,7 @@ const headMsg = "local object storage operation"
// Write writes message about storage engine's operation to logger.
func Write(logger *logger.Logger, fields ...zap.Field) {
logger.Info(headMsg, fields...)
logger.Debug(headMsg, fields...)
}
// AddressField returns logger's field for object address.