Sometimes I have long running requests that do imports or similar.

Currently logging using MyPlugin::log is only actually written to file once the request is done.

Is there a way to trigger log-flushing mid-request?


You should be able to do that with something like this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.