Skip to content

Sidekiq 6.0 #4056

Closed
Closed
@mperham

Description

@mperham
Collaborator

Welcome to Sidekiq 6.0, the modernization release!

Changes:

Activity

Tensho

Tensho commented on Dec 22, 2018

@Tensho
Contributor

@mperham I have been thinking about the general approach for the multiple systems (Rails, Sidekiq, etc) logging in the context of the daemon hunt. The new world declares to spit the log entries primary to STDOUT/STDERR and abandons the log file. Does it mean Rails on Puma and Sidekiq (both are threaded systems) logs should be multiplexed in a one flow with the unified log entry structure and segregated with some sharp tools on demand? What kind of the centralized logging systems would you suggest? Sidekiq documentation always leads the best practices. For example, you provided a wonderful deployment documentation with systemd and upstart examples. It would be very helpful to have guidance about the logging either.

mperham

mperham commented on Dec 22, 2018

@mperham
CollaboratorAuthor

If you log to stdout and use systemd for your Ruby services, all log entries from puma, sidekiq, etc will all go into journald, where you can use systemd tooling to grep and inspect output from each service. You'd have to read the systemd docs for more detail, I'm not super familiar with all the options but I'm sure it integrates with syslog, for example.

I don't agree with their differentiation between STDOUT and STDERR but systemd does have a way to mark each logline with a level so systemd can ignore log output beyond a certain level (INFO, DEBUG, etc).

https://www.loggly.com/ultimate-guide/linux-logging-with-systemd/

added this to the 6.0 milestone on Jan 10, 2019
pinned this issue on Mar 5, 2019
JanStevens

JanStevens commented on Jun 20, 2019

@JanStevens

Any chance on an update when version 6 will be released? We are holding back for it now (we really like the json logging)

mperham

mperham commented on Jun 20, 2019

@mperham
CollaboratorAuthor
hjhart

hjhart commented on Aug 20, 2019

@hjhart

Hi @mperham – Rails 6 has shipped! Any update when this will be published?

mperham

mperham commented on Aug 20, 2019

@mperham
CollaboratorAuthor
hjhart

hjhart commented on Aug 20, 2019

@hjhart

Seemed like there was no telling when rails was going to ship this release, so no, not poor timing. Enjoy your vacation! Look forward to hearing about a release at some point in the future.

unpinned this issue on Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mperham@hjhart@Tensho@JanStevens

        Issue actions

          Sidekiq 6.0 · Issue #4056 · sidekiq/sidekiq