Skip to content
Chris Smith edited this page Dec 19, 2018 · 2 revisions

General FAQ

General

Q: I am having trouble running the samples, what can I do to debug them?

A: The following steps are generally useful for debugging the client/samples:

  • Ensure the prerequisites for the OpenDXL JavaClient have been met.

  • Switch the root logger from info to debug in the log4j.properties file located in the samples/src directory:

    log4j.rootLogger=info, stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

    Change to:

    log4j.rootLogger=debug, stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

Clone this wiki locally