Closed nreese closed 7 years ago
Add the below two lines to the GeoServer logging configuration file.
log4j.category.mil.nga.giat.data.elasticsearch=DEBUG
log4j.category.mil.nga.giat.process.elasticsearch=DEBUG
The logging configuration file will be in the logs
subdirectory in the GeoServer data directory. Check GeoServer global settings for which file is being used (e.g. DEFAULT_LOGGING.properties
, etc.).
The plugin does log requests but does not currently log responses unless there's an error. You could also try adding something like log4j.logger.org.elasticsearch=DEBUG
or log4j.logger.org.apache.commons.httpclient=DEBUG
to get more detailed logging. I haven't tried that before though.
Let me know if this doesn't work. Either way please keep this issue open as the documentation here should be updated with this information.
Can you please provide an example of configuring the logging to display all elasticsearch requests and responses.