>-----Original Message----- >From: Wu, Zhiwen >Sent: Friday, January 24, 2014 9:29 AM >To: Yin, Kangkai >Cc: [email protected] >Subject: RE: [Dev] How can I get logs from daemon triggered by systemd? > > > >>-----Original Message----- >>From: Yin, Kangkai >>Sent: Friday, January 24, 2014 9:28 AM >>To: Wu, Zhiwen >>Cc: [email protected] >>Subject: Re: [Dev] How can I get logs from daemon triggered by systemd? >> >>On 2014-01-24, 01:17 +0000, Wu, Zhiwen wrote: >>> Hi, >> >>Hi, >> >>> I am debugging a daemon issue, this daemon is launched as a systemd >>> service. I am trying to get log from the daemon by "journalctl -a". >>> Before that I set "LogLevel=debug, DefaultStandardError=journal, >>> DefaultStandardOutput=journal" in both >> >>Have you set that StandardOutput and StandardError in the daemon's >>.service file? >> > >[ Wu, Zhiwen] No
[ Wu, Zhiwen] Adding StandardOutput and StandardError in the daemon's .service unis works. Thanks a lot. > >>> /etc/systemd/system.conf and /etc/systemd/user.conf . But I can't get >>> any log from daemon, but only systemd log. Do I miss some points? _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
