Describe the bug
When we upgraded splunk-sdk from 1.6.14 to 1.6.15, we noticed that error messages from SearchCommand.error_exit() were no longer written to splunkd.log by default. We were able to see the error messages again in splunkd.log by configuring the logging.conf file. Is this an intentional or incidental change? Is there any documentation about this change of logging behavior if this is by design?
To Reproduce
Steps to reproduce the behavior:
install a splunk-sdk version < 1.6.15
in a custom search command python script, call error_exit(exception, error_message)
run the script
error message shows up in splunkd.log
upgrade splunk-sdk to >= 1.6.15
rerun the script
no error message in splunkd.log
Expected behavior
Expected error message written to splunkd.log
01-07-2022 09:42:02.413 -0800 ERROR ChunkedExternProcessor - stderr: Abnormal exit: xxxxxx. Error: some error message passed to SearchCommand.exit_error().
Splunk (please complete the following information):
Describe the bug When we upgraded splunk-sdk from 1.6.14 to 1.6.15, we noticed that error messages from SearchCommand.error_exit() were no longer written to splunkd.log by default. We were able to see the error messages again in splunkd.log by configuring the logging.conf file. Is this an intentional or incidental change? Is there any documentation about this change of logging behavior if this is by design?
To Reproduce Steps to reproduce the behavior:
error_exit(exception, error_message)
splunkd.log
splunkd.log
Expected behavior Expected error message written to splunkd.log
Splunk (please complete the following information):
SDK (please complete the following information):