Project

General

Profile

Bug #31884

rake errors:fetch_log errors when layout is not multiline_request_pattern

Added by Tomer Brisker 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rake tasks
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

$STDERR should be $stderr


Related issues

Related to Foreman - Bug #31262: Users are not warned on an incorrect logging layout in errors:fetch_logClosed

Associated revisions

Revision 78188a4e (diff)
Added by Tomer Brisker 5 months ago

Fixes #31884 - Correctly warn about wrong logging layout

When running `rake errors:fetch_log`, if the logging layout isn't set to
`multiline_request_pattern` the task errors out because `$STDERR` doesn't
exist. This is a typo, it should have been `$stderr`, but since we use
stdout for all other messages this has been dropped to be consistant.

History

#1 Updated by Tomer Brisker 5 months ago

  • Related to Bug #31262: Users are not warned on an incorrect logging layout in errors:fetch_log added

#2 Updated by Tomer Brisker 5 months ago

  • Target version set to 2.2.3

#3 Updated by The Foreman Bot 5 months ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8330 added

#4 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.5.0 added

#5 Updated by Tomer Brisker 5 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 5 months ago

  • Fixed in Releases 2.2.3, 2.3.3, 2.4.0 added
  • Fixed in Releases deleted (2.5.0)

Also available in: Atom PDF