[gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hello, Gentoo! I've pretty much got my new system up and running. It took me less than a week (compared with the month it took me when I first installed Gentoo a few years ago). The most time consuming bit was getting my email server (qmail) going. I've still got to go through my old

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread covici
Rich Freeman ri...@gentoo.org wrote: On Mon, Feb 9, 2015 at 9:26 AM, cov...@ccs.covici.com wrote: I wonder if the original poster is using systemd? He already said he isn't. He just was looking for the wrong filename. Also, I find journalctl very clumsy to find things about a

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Neil Bothwick
On Mon, 09 Feb 2015 11:06:42 +0100, Matthias Hanft wrote: Do I actually need to configure the name of a log file in /etc/conf.d/syslog-ng? The Gentoo installation guide didn't mention, or even hint at, such being necessary. The names of the log files (and much more) are configured in

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan McKinnon
On 09/02/2015 11:48, Alan Mackenzie wrote: Hello, Gentoo! I've pretty much got my new system up and running. It took me less than a week (compared with the month it took me when I first installed Gentoo a few years ago). The most time consuming bit was getting my email server (qmail)

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Adam Carter
One little corner case; if you're running systemd 216 and syslog-ng 3.6, you need to add ForwardToSyslog=yes to /etc/systemd/journald.conf. With systemd 215 and earlier, messages are forwarded to syslog by default, and syslog-ng 3.6 is journald aware.

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Mick
On Monday 09 Feb 2015 10:19:20 Alan McKinnon wrote: On 09/02/2015 11:48, Alan Mackenzie wrote: Hello, Gentoo! I've pretty much got my new system up and running. It took me less than a week (compared with the month it took me when I first installed Gentoo a few years ago). The most

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Mick
On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote: You don't have to export them from anything unless you need their content in a text file. If you just run journalctl that is the equivalent of typing cat /var/log/messages. If you do want to parse them with an external tool then you get your

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2015 11:29:24 +, Mick wrote: I noticed the same on a recent installation. /var/log/syslog is not created by default any more, when installing syslog-ng. I've using syslog-ng on Gentoo for well over ten years and it's always defaulted to /var/log/messages in that time. Other

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hi, Alan. On Mon, Feb 09, 2015 at 12:19:20PM +0200, Alan McKinnon wrote: On 09/02/2015 11:48, Alan Mackenzie wrote: Hello, Gentoo! I've pretty much got my new system up and running. It took me less than a week (compared with the month it took me when I first installed Gentoo a few

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alec Ten Harmsel
On 02/09/2015 06:49 AM, Mick wrote: On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote: You don't have to export them from anything unless you need their content in a text file. If you just run journalctl that is the equivalent of typing cat /var/log/messages. If you do want to parse them

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Rich Freeman
On Mon, Feb 9, 2015 at 5:06 AM, Matthias Hanft m...@hanft.de wrote: And (from what I have heard) if you use systemd instead of openrc, there are no syslog files at all - you have to export them (from some binary database) manually to some human- readable format. But I don't know much about

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2015 11:23:52 +, Alan Mackenzie wrote: No, I've never used systemd either. It's useful to be able to read /var/log/messages with less, probe it with grep/awk/perl, etc., without having to learn some special purpose script language. journalctl outputs to less (or whatever

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread covici
Rich Freeman ri...@gentoo.org wrote: On Mon, Feb 9, 2015 at 6:52 AM, Alec Ten Harmsel a...@alectenharmsel.com wrote: On 02/09/2015 06:49 AM, Mick wrote: On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote: You don't have to export them from anything unless you need their content in a

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Matthias Hanft
Alan Mackenzie wrote: Do I actually need to configure the name of a log file in /etc/conf.d/syslog-ng? The Gentoo installation guide didn't mention, or even hint at, such being necessary. The names of the log files (and much more) are configured in /etc/syslog-ng/syslog-ng.conf - since I

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hello, Matthias. On Mon, Feb 09, 2015 at 11:06:42AM +0100, Matthias Hanft wrote: Alan Mackenzie wrote: Do I actually need to configure the name of a log file in /etc/conf.d/syslog-ng? The Gentoo installation guide didn't mention, or even hint at, such being necessary. The names of the

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alec Ten Harmsel
On 02/09/2015 08:02 AM, Rich Freeman wrote: Keep in mind that if you're grepping logs, there is probably a better way to accomplish what you want to do with journalctl's options. Finding all output from a particular daemon is going to be more reliable if you filter by unit, versus getting

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Matthias Hanft
Alan Mackenzie wrote: On Mon, Feb 09, 2015 at 12:19:20PM +0200, Alan McKinnon wrote: (it's also constantly tailed on vt12, just in case you need to see what's going on it right now) I didn't know that. Wow! Is this something relatively new, or has it always been there? I installed my

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Rich Freeman
On Mon, Feb 9, 2015 at 6:52 AM, Alec Ten Harmsel a...@alectenharmsel.com wrote: On 02/09/2015 06:49 AM, Mick wrote: On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote: You don't have to export them from anything unless you need their content in a text file. If you just run journalctl that is

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Rich Freeman
On Mon, Feb 9, 2015 at 9:26 AM, cov...@ccs.covici.com wrote: I wonder if the original poster is using systemd? He already said he isn't. He just was looking for the wrong filename. Also, I find journalctl very clumsy to find things about a specific program, such as mail logs or whatever --