mirror of
https://github.com/luxfi/geth.git
synced 2026-07-27 01:59:25 +00:00
Delete the old slog-based log package (format.go, handler.go, handler_glog.go, logger.go, root.go) which initialized with DiscardHandler — silently swallowing all log output including Crit messages before calling os.Exit(1). This caused the EVM plugin subprocess to die with no trace. Replace with a thin bridge package (log/log.go) that re-exports github.com/luxfi/log, ensuring: - All geth log.Crit/Fatal calls properly log to stderr before exiting - Default logger writes to stderr (not /dev/null) - slog.Handler shims for backward compatibility Also rewrite all 249 source files to import luxfi/log directly.