What happens?

LuciadLightspeed’s log output doesn’t appear on your console or log.

How to fix it?

First, check that your own code can successfully log messages to your logging framework.

Next, check that LuciadLightspeed is configured to use your logging framework. For more information about configuring logging frameworks, see How to configure third party logging frameworks.

LuciadLightspeed picks up the logger factory from a file called:


If there are multiple such files, LuciadLightspeed might be picking up the wrong one. You can verify which logger factory is used by executing the following snippet in your application:

InputStream stream = TLcdLoggerFactory.class.getClassLoader().getResourceAsStream(
if (stream == null) {
  System.out.println("Java logging is used (TLcdJULLoggerFactory)");
} else {
  System.out.println("Using " + new BufferedReader(new InputStreamReader(stream)).readLine());

Based on the snippet output, you can either adjust your META-INF/services/com.luciad.util.logging.ILcdLoggerFactory configuration file, or remove the interfering META-INF/services/com.luciad.util.logging.ILcdLoggerFactory files, to restore your application message logging.