mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 05:50:04 +01: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:
parent
9237c5e287
commit
ac13d740bf
1 changed files with 4 additions and 0 deletions
|
|
@ -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) ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue