Introduction
The syslog-ng Premium Edition application is a flexible and highly scalable system logging application that is ideal for creating centralized and trusted logging solutions.
Typically, syslog-ng Premium Edition is used to manage log messages and implement centralized logging, where the aim is to collect the log messages of several devices on a single, central log server. The different devices (called syslog-ng Premium Edition clients) all run syslog-ng Premium Edition and collect the log messages from the various applications, files, and other sources. The clients send all important log messages to the remote syslog-ng Premium Edition server, which sorts and stores them.
There is a possibility that the queue files become corrupt, therefore syslog-ng Premium Edition cannot read them and proceed. While syslog-ng Premium Edition and its tools cannot read from the corrupt queue file, there is a tool and a method to recover the corrupt log files.
|
Caution:
Due to the nature of the disk buffer implementation, this tool cannot guarantee that you can recover all logs from a queue file. In addition, when resending the logs, log loss or log duplication might occur. |
|
Warning:
The recovery tool only works on 64-bit Linux operating systems. |
|
NOTE:
At the moment, this method only works with syslog-ng Premium Edition 6 LTS, as 6 LTS is the only version that contains the persist-tool necessary for resending the logs. |