I'm trying to enable debug in appcenter to figure out why mine has the updates page empty. I saw the option -d in App Center from command line, but where the debug logs are saved?
Thanks.
AppCenter is always ran on startup with a "silent" argument (appcenter --silent
) which makes it not show the window, silently load the database and update the cache to e.g: show the notification to the user that there are updates available.
When you're launching appcenter from command line when a silent instance is already running, you are simply invoking the GLib.Application.activate ()
method on the existing instance which is not really what you want in this case.
See: http://bazaar.launchpad.net/~elementary-apps/appcenter/appcenter/view/head:/src/Application.vala#L97
You can just kill the current instance with killall appcenter
and start debugging it with appcenter -d
, gdb appcenter
or whatever you are using to do so.