It is possible to enable various levels of logging output. This is configured in the
yml file.
Query Modifier supports the following levels of logging (in increasing levels of
verbosity):
- OFF - No logging output
- DEBUG - Fine-grained messages showing the flow through Query
Modifier
- INFO - Informational messages
- WARN - Messages indicating potentially harmful situations
- ERROR - Messages designating errors, but might still allow the Query
Modifier to continue running.
The three packages that have logging enabled are:
- level.com.ibm.watson.explorer.querymodifier - This is logging for the
Query Modifier plugin.
- level.com.ibm.watson.explorer.languagewarewrapper- This is logging for
LanguageWare-Wrapper, which is used for many language operations.
- level.org.springframework - This is logging for the Spring Framework,
which is used for handling network communication, configuration parsing, etc.