mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #670] [FEATURE REQUEST] switch logger to golang.org/x/exp/slog #2359
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2359
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ryan961 on GitHub (Jun 13, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/670
Originally assigned to: @hibiken on GitHub.
Slog is set to be introduced in Go 1.21 as part of the standard library (api: audit for Go 1.21 #60560), utilizing the standard Logger interface for easier integration by users.
@mujehoxe commented on GitHub (Oct 24, 2024):
How can i use it instead of the default logger of asynq?
@mujehoxe commented on GitHub (Oct 24, 2024):
I now am receiving a different structure from asynq from my logger
{"time":"2024-10-24T17:37:07.416311372+01:00","level":"INFO","msg":"Starting worker..."}
asynq: pid=343207 2024/10/24 16:37:07.416384 INFO: Starting processing
{"time":"2024-10-24T17:37:07.416342416+01:00","level":"INFO","msg":"Starting API server on :8181..."}
@afifurrohman-id commented on GitHub (May 17, 2025):
any update?
@mrusme commented on GitHub (Dec 4, 2025):
Workaround: