Skip to content

Logging formating issue in production #80

@ashuSvirus

Description

@ashuSvirus

Production

Provide at least:
*ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]

  • Rails 5.0.0.1.
  • Semantic Logger Version 4.3.0.
  • Rails Semantic Logger Version 4.3.1.
  • Phusion Passenger 5.3.2.
  • Rails configuration. Only need the settings related to Rails Semantic Logger and Semantic Logger.

config.semantic_logger.backtrace_level = nil
config.log_level = :info
config.rails_semantic_logger.quiet_assets = true

Expected Behavior

Resque -- Running before_fork hooks with [(Job{check_out_queue} | CheckOutQueue | ["5bbad644f4fc151d5ce85038", "5b328c70ac0966700c622f1c", 2])]
2018-10-08 16:00:15.946398 I [8925:17322260] Resque -- got: (Job{check_out_queue} | CheckOutQueue | ["5bbad644f4fc151d5ce85039", "5b328c71ac0966700c622f1d", 2])

Actual Behavior

2018-10-08 12:20:11.220795 ^[[36mI^[[0m [11090:17322260] ^[[36mResque^[[0m -- got: (Job{gateway_queue} | GatewayStatus | [])
2018-10-08 12:20:11.220837 ^[[36mI^[[0m [11090:17322260] ^[[36mResque^[[0m -- Running before_fork hooks with [(Job{gateway_queue} | GatewayStatus | [])]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions