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

Commit 521b96a

Browse files
committed
Log module conflicts at the ERROR level
This makes it more obvious as to why a module failed to load during startup, as DEBUG (the previous level) isn't normally displayed.
1 parent 0a90a6c commit 521b96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/module.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ E bool module_request(const char *name);
131131
#define MODULE_CONFLICT(self, modname) \
132132
if (module_find_published(modname)) \
133133
{ \
134-
slog(LG_DEBUG, "module %s conflicts with %s, unloading", \
134+
slog(LG_ERROR, "module %s conflicts with %s, unloading", \
135135
self->name, modname); \
136136
(self)->mflags = MODTYPE_FAIL; \
137137
return; \

0 commit comments

Comments
 (0)