mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
solr output plugin: prevent stdout buffering
This is not yet needed, but a preparation for two-way conversations which will happen later (and at that time we'd probably forget about the buffering ;)).
This commit is contained in:
parent
cd652bad58
commit
df35b48f6b
1
plugins/external/solr/rsyslog_solr.py
vendored
1
plugins/external/solr/rsyslog_solr.py
vendored
@ -93,4 +93,5 @@ while keepRunning == 1:
|
||||
break;
|
||||
if len(msgs) > 0:
|
||||
onReceive(msgs)
|
||||
sys.stdout.flush() # very important, Python buffers far too much!
|
||||
onExit()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user