1 |
On Tue, Feb 17, 2015 at 8:38 PM, Alexander Kapshuk < |
2 |
alexander.kapshuk@×××××.com> wrote: |
3 |
|
4 |
> On Tue, Feb 17, 2015 at 8:26 PM, lee <lee@××××××××.de> wrote: |
5 |
> |
6 |
>> Hi, |
7 |
>> |
8 |
>> how do you read the log files when using syslog-ng? |
9 |
>> |
10 |
>> The log file seem to be some sort of binary that doesn't display too |
11 |
>> well in less, and there doesn't seem to be any way to read them. |
12 |
>> |
13 |
>> |
14 |
>> -- |
15 |
>> Again we must be afraid of speaking of daemons for fear that daemons |
16 |
>> might swallow us. Finally, this fear has become reasonable. |
17 |
>> |
18 |
>> |
19 |
> If you're talking about /var/log/messages, which is: |
20 |
> messages: data |
21 |
> |
22 |
> I use cat(1). |
23 |
> |
24 |
> |
25 |
Just tried 'sed p /var/log/messages', which seems to work as well. |