>-----Original Message----- >From: meego-dev-boun...@meego.com >[mailto:meego-dev-boun...@meego.com] On Behalf Of Jia-Chi Lai >Sent: Thursday, December 02, 2010 9:57 AM >To: meego-dev@meego.com >Subject: [MeeGo-dev] [Sensorfw] Open the sensordlog > >hihi~~ > > >I can't open the Sensordlog by command in sensord.(--log-level) > >Anyone know how to open the log on console? > >Thanks.
Combination of these should do the trick: In order to route logging output to console (instead of syslog), use: sensord --log-target=1 If you wish to enable logging of messages in test and debug levels, use: sensord --log-level=test sensord --log-level=debug Pick one depending on which level you want to see (everything at and above the specified level is logged). If you don't want to restart sensord, you can also change the logging level while it is running by sending it SIGUSR1 (kill -SIGUSR1 $(pidof sensord)). You can't change the log output target though. // Timo _______________________________________________ MeeGo-dev mailing list MeeGo-dev@meego.com http://lists.meego.com/listinfo/meego-dev