1 |
> On Feb 17, 2015, at 20:26, lee <lee@××××××××.de> wrote: |
2 |
> |
3 |
> Hi, |
4 |
> |
5 |
> how do you read the log files when using syslog-ng? |
6 |
> |
7 |
> The log file seem to be some sort of binary that doesn't display too |
8 |
> well in less, and there doesn't seem to be any way to read them. |
9 |
|
10 |
This was discussed earlier on this list... Actually what syslog-ng produces is plain text. There seemed to be a bug that creates some binary (i.e. unreadable characters) and that causes less to consider files to be binary and show them incorrectly. |
11 |
|
12 |
To work around you can use -r flag with less, or replace/remove unreadable chars from log, or delete the log file. |
13 |
|
14 |
-- |
15 |
-Matti |