Skip to content

[C++] Replace Google Logging Library #47465

Closed

Description

@kou

Describe the enhancement requested

It's deprecated: https://github.com/google/glog

Deprecation notice: This project is no longer maintained and will be archived on 2025-06-30. Consider using ng-log (API-compatible, community-maintained, migration instructions) or Abseil Logging (Google-maintained) instead. Thank you for all the contributions!

What logging library should we use?

Component(s)

C++

Activity

  1. WillAyd commented on Sep 3, 2025

    @WillAyd
    Contributor

    Perhaps Abseil Logging since we are already using parts of Abseil?

  2. kou commented on Sep 3, 2025

    @kou
    MemberAuthor

    I'm negative to use Abseil because it's difficult to maintain...

    For example, build_absl() has almost 1000 lines...: https://github.com/apache/arrow/blob/main/cpp/cmake_modules/ThirdpartyToolchain.cmake#L2974-L3910

  3. WillAyd commented on Sep 3, 2025

    @WillAyd
    Contributor

    Hmm interesting. At least with the Meson configuration it should just be:

    absl_log_severity_dep = dependency('absl_log_severity')

    I'll have to trudge a bit more through the CMake configuration, but I think its just another library in that list that is already provided (?)

  4. pitrou commented on Sep 4, 2025

    @pitrou
    Member

    -1 for Abseil, it's an optional dependency only and extremely annoying to handle.

    GLog is only an optional dependency of Arrow, do we even need to use something else? We can just remove GLog support (after deprecating it).

  5. pitrou commented on Sep 11, 2025

    @pitrou
    Member

    I was pointed to https://github.com/gabime/spdlog as a possible alternative. But it should probably remain optional.

  6. github-actions commented on Sep 12, 2026

    @github-actions

    This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.

  7. added
    Status: stale-warning
    on Sep 12, 2026
  8. added
    Status: needs champion
    on Sep 24, 2026
  9. removed
    Status: stale-warning
    on Oct 24, 2026
  10. atharva-potdar commented on Nov 13, 2026

    @atharva-potdar
    Contributor

    Should we deprecate the glog backend then?

  11. pitrou commented on Nov 16, 2026

    @pitrou
    Member

    @atharva-potdar Yes, let's do that!

  12. added 2 commits that reference this issue on Nov 17, 2026
  13. added a commit that references this issue on Nov 19, 2026
  14. added this to the 27.0.0 milestone on Nov 19, 2026
  15. pitrou commented on Nov 19, 2026

    @pitrou
    Member

    Issue resolved by pull request 55632
    #55632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Component: C++Status: needs championType: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions