I want to run the ofono in debug mode. I copied the executable file (Which i got using which ofono command)to a new folder. Once I am able to stop ofonod, I will run this from new location like ./ofono -d.
I can't see any entries in init.rd or any of the rc. folders. But I need to stop it first.
The easiest way to enable debug logs is to run this command:
This will restart connman and ofono in debug mode, and also
enables debug mode in indicator-network-service. All log messages will
go to /var/log/syslog and there will be a lots of them.
Warning! Debug logs contain a lot of information and there might some
confidential information, for example passwords. Always be careful
when sending debug logs to public so that you don't reveal anything
sensitive by accident.
To disable debug logs:
Alternative method to disable debug logs is to reboot the computer.
The system will run normally again.
At the same wiki page it explain thatrestart ofono should be done as follows:
ls -al /etc/systemd/system | grep ofonoperhaps its a systemd service