Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do you handle 'system logging' with systemd ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1439
Location: Earth

PostPosted: Thu Aug 26, 2021 4:28 pm    Post subject: How do you handle 'system logging' with systemd ? Reply with quote

i never really used a system with systemd - played around with Qubes OS a while ago, but it was to buggy at that time and RPMs are PITA, imo.

i'am wondering, how do you handle logs with systemd - compared to OpenRC ?

thx :)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Aug 26, 2021 4:55 pm    Post subject: Reply with quote

Use journald
Code:

journalctl --unit=<service-name>
journalctl --boot ### show last boot
journalctl --dmesg  ### show last dmesg


_________________
:)
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2007

PostPosted: Fri Aug 27, 2021 9:55 am    Post subject: Reply with quote

If you have a sophisticated existing syslog setup where you're filtering to different destinations, or merging stuff from multiple systems, or other complex stuff, there is a journald -> syslog bridge as part of systemd; I forget its name, but Google will find it for you.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum