You are not logged in.

#1 2014-11-16 12:53:31

tesla135
Member
Registered: 2013-06-27
Posts: 68

setting journalctl to output everything

How to set journalctl to output everything( or almost  everything like  /var/log/syslog from ubuntu does).

Offline

#2 2014-11-16 20:31:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: setting journalctl to output everything

What is missing? How exactly do you run journalctl?
I have no idea what /var/log/syslog from ubuntu does so please upload a sample somewhere and post a link.

Offline

#3 2014-11-17 16:40:12

tesla135
Member
Registered: 2013-06-27
Posts: 68

Re: setting journalctl to output everything

karol wrote:

What is missing? How exactly do you run journalctl?
I have no idea what /var/log/syslog from ubuntu does so please upload a sample somewhere and post a link.

A lot of things journalctl does not output things like when i restart named. i wany to see the dns information or dns errors

An example in syslog from ubuntu

Nov 17 14:19:55 .... named[7634]: zone 0.in-addr.arpa/IN: loaded serial 1
Nov 17 14:19:55 .... named[7634]: zone domain1.com/IN: loaded serial 2014000001
Nov 17 14:19:55 .... named[7634]: zone domain2.com/IN: loaded serial 2014051002
Nov 17 14:19:55 ..... named[7634]: zone 127.in-addr.arpa/IN: loaded serial 1
Nov 17 14:19:55  ..... named[7634]: zone 255.in-addr.arpa/IN: loaded serial 1
Nov 17 14:19:55  ..... named[7634]: zone domain3.como/IN: loaded serial 2014000003

Offline

#4 2014-11-17 16:48:02

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: setting journalctl to output everything

Did you read

$ man journald.conf

Maybe there's what you're looking for.


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2014-11-17 16:48:47

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: setting journalctl to output everything

journalctl outputs everything that was logged - perhaps you need to make named output more (by adjusting its service file).

Offline

#6 2014-12-06 00:57:05

Xezlec
Member
Registered: 2014-11-30
Posts: 41

Re: setting journalctl to output everything

Another possibility is that you're not running it as root.  Try "sudo journalctl" instead and you'll get more output.

Offline

Board footer

Powered by FluxBB