dbus: how to see traces from different processes

John (J5) Palmieri johnp at redhat.com
Fri Apr 20 13:10:46 PDT 2007


On Fri, 2007-04-20 at 12:44 +0200, Matthieu LAURENT wrote:
> Hi,
> I am new in using dBus. I have installed an application that use dbus
> and launch several processes.
> New I launch the client I see its traces (fprintf(stderr), or g_print)
> but I can not see the other traces of the processes that are going to be
> launched.
> If I launch this process before my application I see its traces in the
> console where I launched it.
> Is there a way to redirect traces in order to have all of them in the
> same console?
> Is it compulsory to launch processes before the application? (in my case
> it is annoying because a process will launch several other processes)
> 

Launch the processes before hand.  D-Bus activation is just there to
start a process if it isn't already started.  Otherwise the process
should act exactly the same.  The other option is to redirect stdio and
stderr to a file in the app that is being launched.


-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list