rsyslog error 51 [warning]

File has been truncated

This is not a real error but rather a warning message. Most probably it occurs when monitoring files with imfile and “reopenOnTruncate” has been set to “on”. In this case, it indicates truncation of the file has been detected, and as such imfile begins to read it’s content from the beginning again.

Please see the imfile documentation for limitations of truncation processing.

Scroll to top