You are not logged in.

#1 2012-11-14 17:45:16

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

[Solved] Pacman.log no longer logging maybe systemd

Hi, I upgraded a couple of days ago on the 11th to systemd system, I am using 86_64 awesome DE, I ran Syu yesterday and this morning I found mplayer was acting poorly so I went to check pacman.log to see what was updated. Pacman.log hadn't logged since the 11th when I upgraded, although I would like to figure out mplayer, I am more interested in the log files. I also found that my boot log file is not recording boot information from the same time although the errors.log has information in it.



thanks in advance for any help you may give.

--jerry

Last edited by jk121960 (2012-11-14 21:15:45)


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#2 2012-11-14 18:08:01

Lord Bo
Member
Registered: 2012-11-11
Posts: 168

Re: [Solved] Pacman.log no longer logging maybe systemd

Did you read the Systemd wiki entry? Systemd logs to /var/log/journal, but that will not help you much, since the logs seem to be saved in some binary format. You can access the logs with journalctl.

Offline

#3 2012-11-14 18:11:31

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Pacman.log no longer logging maybe systemd

OK but does it also log pacman.log? And it seems like I still get information in the errors.log.

thanks

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#4 2012-11-14 18:29:28

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Solved] Pacman.log no longer logging maybe systemd

here too, since exactly the same date, the pacman no longer make new entraces to the /var/log/pacman.log
and the journalctl not show any pacman related

any more can comfirm this for make a formal bug report??


Well, I suppose that this is somekind of signature, no?

Offline

#5 2012-11-14 18:31:56

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [Solved] Pacman.log no longer logging maybe systemd

pacman still logs to pacman.log so you'll need to figure out what's up there.  Are you using the journal in conjunction with syslog?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2012-11-14 18:34:26

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Pacman.log no longer logging maybe systemd

I am using pure systemd so how would I check? I followed the wiki setting everything up.

thanks for you help.

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#7 2012-11-14 20:53:49

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [Solved] Pacman.log no longer logging maybe systemd

To be more precise, did you follow this: Journald in conjunction with syslog

pacman.log is working here.


To know or not to know ...
... the questions remain forever.

Offline

#8 2012-11-14 21:00:26

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Pacman.log no longer logging maybe systemd

bernarcher wrote:

To be more precise, did you follow this: Journald in conjunction with syslog

pacman.log is working here.

Yes and here is the status

syslog-ng.service - System Logger Daemon
	  Loaded: loaded (/usr/lib/systemd/system/syslog-ng.service; enabled)
	  Active: active (running) since Wed, 2012-11-14 00:58:57 CST; 14h ago
	    Docs: man:syslog-ng(8)
	Main PID: 591 (syslog-ng)
	  CGroup: name=systemd:/system/syslog-ng.service
		  └ 591 /usr/sbin/syslog-ng -F

thanks for your help

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#9 2012-11-14 21:15:27

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Pacman.log no longer logging maybe systemd

I went back over the settings with systemd, I booted and it's fine now. Maybe something didn't come up right. But it's good now.


thanks for all your help

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#10 2012-11-14 22:45:04

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [Solved] Pacman.log no longer logging maybe systemd

It's worth noting that pacman.log is written by pacman directly as a regular file, not by any syslog or systemd-related component. So when pacman.log doesn't work, you really don't need to check those other things.

Offline

#11 2012-11-15 02:00:51

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Solved] Pacman.log no longer logging maybe systemd

no
i not using syslog
I using only the journald from systemd

and the /var/log/pacman.log not have any new entry despite the resent instalation of skype


Well, I suppose that this is somekind of signature, no?

Offline

#12 2012-11-15 02:16:10

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [Solved] Pacman.log no longer logging maybe systemd

Do you have a separate /var partition? Is it mounted r/w?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#13 2012-11-15 02:25:16

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Solved] Pacman.log no longer logging maybe systemd

yep separate var partition
I use: /dev/sda6 /var jfs defaults,noatime 0 2
and: /dev/sda7 /var/cache/pacman jfs defaults,noatime 0 2


Well, I suppose that this is somekind of signature, no?

Offline

#14 2012-11-15 03:25:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [Solved] Pacman.log no longer logging maybe systemd

So is /var mounting correctly?

# systemctl status var.mount
$ mount | grep /var

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB