Fix invalid handling of input filenames command line option; Print dot every second while sending messages to indicate activity
This commit is contained in:
@@ -34,6 +34,10 @@ void SyslogBulkUploader::run() {
|
||||
|
||||
while (auto msg = _reader.nextMessage()) {
|
||||
freqLimit.tick();
|
||||
if (_preSendCallback)
|
||||
_preSendCallback(msg);
|
||||
_writer.sendMessage(msg);
|
||||
if (_postSendCallback)
|
||||
_postSendCallback(msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user