Fix invalid handling of input filenames command line option; Print dot every second while sending messages to indicate activity

This commit is contained in:
Marko Zivanovic
2015-09-09 11:11:29 +02:00
parent a5a9d22aec
commit b07983f7ea
4 changed files with 38 additions and 5 deletions
+4
View File
@@ -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);
}
}