From: | Fernando Rodriguez <frodriguez.developer@×××××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] syslog-ng: how to read the log files | ||
Date: | Thu, 19 Feb 2015 19:04:27 | ||
Message-Id: | 2735744.Vs3r9ZmJIO@acer | ||
In Reply to: | [gentoo-user] syslog-ng: how to read the log files by lee |
1 | On Tuesday, February 17, 2015 7:26:05 PM lee wrote: |
2 | > Hi, |
3 | > |
4 | > how do you read the log files when using syslog-ng? |
5 | > |
6 | > The log file seem to be some sort of binary that doesn't display too |
7 | > well in less, and there doesn't seem to be any way to read them. |
8 | > |
9 | > |
10 | > |
11 | |
12 | You can just pipe the output of strings /var/log/messages to less. You can use |
13 | strings(1) for systemd journal files also. |
14 | |
15 | -- |
16 | Fernando Rodriguez |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] syslog-ng: how to read the log files | Jan Sever <n32@×××××.cz> |