ethereum-optimism / op-geth

GNU Lesser General Public License v3.0
254 stars 652 forks source link

use log/slog instead of golang/exp #289

Closed roberto-bayardo closed 2 months ago

roberto-bayardo commented 2 months ago

Description

Use native log/slog instead of x/exp/slog.

Upstream geth is also moving to native slog here: https://github.com/ethereum/go-ethereum/pull/29302

Updating this in op-geth now because currently when logging in JSON mode, all debug & lower log lines are being suppressed, and this change fixes it.

roberto-bayardo commented 2 months ago

figured out a simpler fix, closing for now...