Re: executescriipt and jython logging

2023-08-22 Thread Richard Beare
I'm using ExecuteScript. I don't see a change in behaviour if I click "Verify". On Wed, Aug 23, 2023 at 2:46 AM Matt Burgess wrote: > Richard, > > I'll look into the logging stuff, definitely strange behavior. Are you > using ExecuteScript or InvokeScriptedProcessor? I noticed an > intermittent

Re: executescriipt and jython logging

2023-08-22 Thread Matt Burgess
Richard, I'll look into the logging stuff, definitely strange behavior. Are you using ExecuteScript or InvokeScriptedProcessor? I noticed an intermittent failure on InvokeScriptedProcessor in 1.20 [1] but maybe it's present in more of the scripting stuff as they use the same classes to handle the

Re: executescriipt and jython logging

2023-08-22 Thread Richard Beare
It seems stranger than I thought. I have the following in the callback: log.info("Simple text") log.info("Block size " + str(type(block_of_days)) + "\n") log.info("Oldest time: " + oldest_time_str) log.info("Newest time: " + newest_time_str)

executescriipt and jython logging

2023-08-22 Thread Richard Beare
Hi all, I'm having issues with logging from python. I have the processor set to debug level logging but I only see message from inside the callback; i.e flowFile = session.write(flowFile, PyStreamCallback()) calls to log.error and log.info from inside the process method of PyStreamCallback()