Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trails should show warning when duplicate API #262

Open
jaumard opened this issue Nov 23, 2016 · 0 comments
Open

Trails should show warning when duplicate API #262

jaumard opened this issue Nov 23, 2016 · 0 comments

Comments

@jaumard
Copy link
Contributor

jaumard commented Nov 23, 2016

Issue Description

Currently if both a trailpack and the application declare a model/controller/service/policy, trails log this:

debug: api.services.PluginService is defined by both lisa-plugins-manager and the application. The PluginService config defined in lisa-plugins-manager will be ignored.

The problem is everything is in debug and this one get lost in it. For configuration it's fine to have this as debug but for something important like API it should be more visible (debug in red for me and warn is yellow).

By settings those logs in warning it will help developers to find why a trailpack is not working anymore.

Environment

  • node version: all
  • trails version: all
  • operating system: all
@tjwebb tjwebb added the ux label Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants