Project

General

Profile

Bug #24481

"[W|app|] Plugin {plugin_name} has assets outside of its namespace, these will be ignored" in production log

Added by Ivan Necas 12 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Logging
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1609326

The asset pipeline is producing warning messages in production that are just misleading, as they actually have no influence on the actual behaviour of the system.

I propose changing the log level to debug, as it should mailnly be targeted to developers, not system admins.

Associated revisions

Revision e705a603 (diff)
Added by Ivan Necas 6 months ago

Fixes #24481 - update log level on plugin assets

Reasons for changing the log level from warn to debug:

1. the plugin can still register the assets manually

2. in some cases, they even should not be namespaced (seems like it's
needed for example with custom favicon)

We should limit the log messages we propagate to production to just
those that can have influence on the production setup.

History

#1 Updated by Ivan Necas 12 months ago

  • Category set to Logging
  • Subject changed from "[W|app|] Plugin {plugin_name} has assets outside of its namespace, these will be ignored" in production log to "[W|app|] Plugin {plugin_name} has assets outside of its namespace, these will be ignored" in production log

#2 Updated by The Foreman Bot 12 months ago

  • Assignee set to Ivan Necas
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5889 added

#3 Updated by Michael Moll 6 months ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Ivan Necas 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF