nspcc-dev / neofs-node

NeoFS is a decentralized distributed object storage integrated with the Neo blockchain
https://fs.neo.org
GNU General Public License v3.0
32 stars 38 forks source link

Optional JSON logs encoding #2982

Closed carpawell closed 2 weeks ago

carpawell commented 4 weeks ago

Is your feature request related to a problem? Please describe.

I'm always frustrated when our cool zap logger supports it but we always use "console" mode.

Describe the solution you'd like

Add .encoding config subsection to logger config section. Default value could be still "console".

Describe alternatives you've considered

-

Additional context

Every time we discuss logs severity and paring them is an additional context.