I am actually trying to figure out where the DBG("") prints are going when I do a music stream using bluez to my headset. So basically I want to know where all the bluez debug messages are getting printed, be it any kind of bluetooth operation. ex: scan, inquiry , connect and so on .
Hopefully someone can help me with this . Thanks in advance .
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:
enable debugging by adding a -d
after
ExecStart=/usr/libexec/bluetooth/bluetoothd
in /usr/lib/systemd/system/bluetooth.service
Save, then:
$ systemctl daemon-reload
$ systemctl restart bluetooth
Now you get your information in /var/log/syslog