{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/2343","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/2343/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/2343/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/2343/events","html_url":"https://github.com/mperham/sidekiq/issues/2343","id":75302843,"number":2343,"title":"Include no-timestamp log option?","user":{"login":"aripollak","id":451345,"avatar_url":"https://avatars.githubusercontent.com/u/451345?v=3","gravatar_id":"","url":"https://api.github.com/users/aripollak","html_url":"https://github.com/aripollak","followers_url":"https://api.github.com/users/aripollak/followers","following_url":"https://api.github.com/users/aripollak/following{/other_user}","gists_url":"https://api.github.com/users/aripollak/gists{/gist_id}","starred_url":"https://api.github.com/users/aripollak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aripollak/subscriptions","organizations_url":"https://api.github.com/users/aripollak/orgs","repos_url":"https://api.github.com/users/aripollak/repos","events_url":"https://api.github.com/users/aripollak/events{/privacy}","received_events_url":"https://api.github.com/users/aripollak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-11T17:45:23Z","updated_at":"2015-05-13T20:13:45Z","closed_at":null,"body":"We already get microsecond-precision timestamps out of the Heroku logplex, so recording the timestamp again from Sidekiq just adds unnecessary verbosity. We've been doing this in an initializer instead, but it might be nice to include it as an option for other people in a similar situation. If including it isn't desirable for some reason, I'd be happy to add this to the wiki.\r\n\r\n```ruby\r\nclass SidekiqLoggerWithoutTime < Sidekiq::Logging::Pretty\r\n  def call(severity, time, program_name, message)\r\n    \"#{::Process.pid} TID-#{Thread.current.object_id.to_s(36)}#{context} #{severity}: #{message}\\n\"\r\n  end\r\nend\r\n\r\nSidekiq.logger.formatter = SidekiqLoggerWithoutTime.new\r\n```"},"comment":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/comments/101801834","html_url":"https://github.com/mperham/sidekiq/issues/2343#issuecomment-101801834","issue_url":"https://api.github.com/repos/mperham/sidekiq/issues/2343","id":101801834,"user":{"login":"mperham","id":2911,"avatar_url":"https://avatars.githubusercontent.com/u/2911?v=3","gravatar_id":"","url":"https://api.github.com/users/mperham","html_url":"https://github.com/mperham","followers_url":"https://api.github.com/users/mperham/followers","following_url":"https://api.github.com/users/mperham/following{/other_user}","gists_url":"https://api.github.com/users/mperham/gists{/gist_id}","starred_url":"https://api.github.com/users/mperham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mperham/subscriptions","organizations_url":"https://api.github.com/users/mperham/orgs","repos_url":"https://api.github.com/users/mperham/repos","events_url":"https://api.github.com/users/mperham/events{/privacy}","received_events_url":"https://api.github.com/users/mperham/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T20:13:45Z","updated_at":"2015-05-13T20:13:45Z","body":"I'd consider a PR which special-cases Heroku and removes the timestamp from the default logger."}}