且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我想在bluez上启用调试消息

更新时间:2023-09-17 23:37:22

目前我在这里还没有Ubuntu,但这是它在Fedora上的工作方式,我确信它在Ubuntu上非常相似,尤其是systemd.-部分:

I have no Ubuntu here at the moment, but this is the way it works on Fedora and I'm sure it is very similar on Ubuntu, especially the systemd-part:

之后添加 -d

启用调试

enable debugging by adding a -d after

ExecStart=/usr/libexec/bluetooth/bluetoothd

/usr/lib/systemd/system/bluetooth.service

保存,然后:

$ systemctl daemon-reload
$ systemctl restart bluetooth

现在您可以在/var/log/syslog