Correct way in a systemd-world to start pulseaudio with verbose messaging

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lmuserx4849

Correct way in a systemd-world to start pulseaudio with verbose messaging

Post by lmuserx4849 »

What is the correct way in a systemd-world to start pulseaudio with verbose messaging for debugging?

This is the way I'd do debugging in the past:

Code: Select all

On one console: tail -f /var/log/syslog
On another console: pulseaudio --start -vvvv
But I spotted this in a debian thread:

Code: Select all

systemctl --user --runtime edit pulseaudio.service

# Enter the following content in the editor:
[Service]
ExecStart=/usr/bin/pulseaudio --daemonize=no -vvvv

systemctl --user restart pulseaudio
journalctl --user-unit=pulseaudio.service --since=today 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Correct way in a systemd-world to start pulseaudio with verbose messaging

Post by kc1di »

Hello lmuserx4849,
I'm not exactly sure what your asking but if it's debugging then this may be of help https://manpages.debian.org/testing/pul ... .1.en.html
scroll down to the section on --log-level it discribes how to get verbose logging and also where you can log it to.
good luck.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
lmuserx4849

Re: Correct way in a systemd-world to start pulseaudio with verbose messaging

Post by lmuserx4849 »

kc1di wrote: Thu Mar 01, 2018 5:59 am Hello lmuserx4849,
I'm not exactly sure what your asking but if it's debugging then this may be of help https://manpages.debian.org/testing/pul ... .1.en.html
scroll down to the section on --log-level it discribes how to get verbose logging and also where you can log it to.
good luck.
-loglevel=4 and -vvvv are suppose to be the same.

But what I was really asking, is there a new way in the systemd-world to start, stop and change options for a daemon. I needed to get more info from PulseAudio, and I used what I knew from sysvint and rsyslogd days. But then as I searched and read more ---- should I have been using systemctl and journalctl to start/stop/change and tail the log. Is this the best practices of the day. I assume this would not only apply to PulseAudio but all daemons.
Locked

Return to “Sound”