Skip to content

Replace the logging gem with stdlib logger - #302

Merged
pcai merged 8 commits into
mainfrom
chore/replace-logging-gem
Sep 14, 2026
Merged

pcai merged 8 commits into
mainfrom
chore/replace-logging-gem

Conversation

@pcai

@pcai pcai commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Drops the unmaintained logging gem in favor of stdlib logger, following the same migration already done in WinRM and winrm-fs.

  • Viewpoint::EWS.root_logger is now a stdlib Logger writing to stdout (default level WARN; viewpoint/logging/config still switches it to DEBUG).
  • The three @log = Logging.logger[...] call sites now share the root logger.
  • Gemspec: logging dependency replaced with logger (declared explicitly since it is no longer a bundled gem on Ruby 4.0).

Fixes #275 (uninitialized constant ... ::Logging).

@pcai
pcai merged commit a9e996e into main Sep 14, 2026
15 checks passed
@pcai
pcai deleted the chore/replace-logging-gem branch September 14, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uninitialized constant Viewpoint::EWS::Connection::Logging

1 participant