On 02/19/2015 08:02 PM, Fernando Rodriguez wrote: > On Tuesday, February 17, 2015 7:26:05 PM lee wrote: >> Hi, >> >> how do you read the log files when using syslog-ng? >> >> The log file seem to be some sort of binary that doesn't display too >> well in less, and there doesn't seem to be any way to read them. >> >> >> > > You can just pipe the output of strings /var/log/messages to less. You can use > strings(1) for systemd journal files also.
Yeah and you can check whether it contains any binary data by diff <(strings /var/log/messages) /var/log/messages -- Jan Sever