1 |
On Tuesday 17 February 2015 20:41:06 Matti Nykyri wrote: |
2 |
> > On Feb 17, 2015, at 20:26, lee <lee@××××××××.de> wrote: |
3 |
> > how do you read the log files when using syslog-ng? |
4 |
> > The log file seem to be some sort of binary that doesn't display too |
5 |
> > well in less, and there doesn't seem to be any way to read them. |
6 |
> |
7 |
> This was discussed earlier on this list... Actually what syslog-ng |
8 |
> produces is plain text. There seemed to be a bug that creates some |
9 |
> binary (i.e. unreadable characters) and that causes less to consider |
10 |
> files to be binary and show them incorrectly. |
11 |
|
12 |
Yes, that was me. I found that something had marked /var/log/messages as |
13 |
a binary file. There's nothing in it that can't be read, no mysterious |
14 |
characters or anything; it's just marked as binary. All you have to do |
15 |
is to move it, then cat it back into place. I did that with no ill |
16 |
effects. |
17 |
|
18 |
-- |
19 |
Rgds |
20 |
Peter. |