Skip to content
This repository was archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
Log module conflicts at the ERROR level
Browse files Browse the repository at this point in the history
This makes it more obvious as to why a module failed to load during
startup, as DEBUG (the previous level) isn't normally displayed.
  • Loading branch information
dwfreed committed Apr 21, 2013
1 parent 0a90a6c commit 521b96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ E bool module_request(const char *name);
#define MODULE_CONFLICT(self, modname) \
if (module_find_published(modname)) \
{ \
slog(LG_DEBUG, "module %s conflicts with %s, unloading", \
slog(LG_ERROR, "module %s conflicts with %s, unloading", \
self->name, modname); \
(self)->mflags = MODTYPE_FAIL; \
return; \
Expand Down

0 comments on commit 521b96a

Please sign in to comment.