mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 23:42:32 -05:00
add json log formatter
This commit is contained in:
1 parent
6736d8fe68
commit
14c0ad2d16
2 files changed
+26
-2
No files matched your search
@@ -12,3 +12,7 @@ if !ENV['SIDEKIQ_BASIC_AUTH_PASSWORD'].to_s.empty? && defined?(Sidekiq::Web)
|
||||
end
|
||||
|
||||
Sidekiq.strict_args!
|
||||
|
||||
Sidekiq.configure_server do |config|
|
||||
config.logger.formatter = Sidekiq::Logger::Formatters::JSON.new if ENV['LOG_FORMATTER'] == 'json'
|
||||
end
|
||||
Reference in new issue
Block a user