mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
mi: Mention extension loading in verbose logs
Listing the extensions is useful, despite being annoying for normal usecases. Print it only when extra (lvl 3) vebose is requested. v2: Move the logging to InitExtensions(), as requested by Adam. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
committed by
Adam Jackson
parent
9237c5e287
commit
ac13d740bf
@@ -104,6 +104,7 @@ SOFTWARE.
|
||||
#include "nonsdk_extinit.h"
|
||||
#endif
|
||||
#include "micmap.h"
|
||||
#include "os.h"
|
||||
#include "globals.h"
|
||||
|
||||
/* List of built-in (statically linked) extensions */
|
||||
@@ -260,6 +261,9 @@ InitExtensions(int argc, char *argv[])
|
||||
ext = &ExtensionModuleList[i];
|
||||
if (ext->initFunc != NULL &&
|
||||
(ext->disablePtr == NULL || !*ext->disablePtr)) {
|
||||
LogMessageVerb(X_INFO, 3, "Initializing extension %s\n",
|
||||
ext->name);
|
||||
|
||||
(ext->initFunc) ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user