Re: [systemd-devel] Systemd logging..

2018-11-22 Thread Tomasz Torcz
On Wed, Nov 21, 2018 at 02:23:50PM +0530, deepan muthusamy wrote: > Hi, > How to log systemd service into log.txt file. > This file should be available after system restart also. > How to do this? You can use file:path in StandardOutput= https://www.freedesktop.org/software/systemd/man/syste

Re: [systemd-devel] Systemd logging..

2018-11-22 Thread Cristian Rodríguez
El 21-11-2018 a las 11:08, deepan muthusamy escribió: > Can u please tell me what are all the things I have to add in .service file to store all logs into a log file. Some daemons provide an option to log to file, use that if available, otherwise make your program write debug or log messa

Re: [systemd-devel] Systemd logging..

2018-11-21 Thread Reindl Harald
Am 21.11.18 um 15:08 schrieb deepan muthusamy: > Hi, > Still iam not clear about what to do in service. > > Can u please tell me what are all the things I have to add in .service what exactly did you not understand in my repsonse that you need to use rsyslog for traditional logfiles and why do

Re: [systemd-devel] Systemd logging..

2018-11-21 Thread deepan muthusamy
Hi, Still iam not clear about what to do in service. Can u please tell me what are all the things I have to add in .service file to store all logs into a log file. On Wed, 21 Nov 2018, 2:23 pm deepan muthusamy Hi, > How to log systemd service into log.txt file. > This file should be available af

Re: [systemd-devel] Systemd logging..

2018-11-21 Thread Reindl Harald
Am 21.11.18 um 09:53 schrieb deepan muthusamy: > How to log systemd service into log.txt file. > This file should be available after system  restart also. > How to do this? just use rsyslog a all the years before rsyslog.conf: $MainMsgQueueSize 10 $WorkDirectory /var/lib/rsyslog module(load=

[systemd-devel] Systemd logging..

2018-11-21 Thread deepan muthusamy
Hi, How to log systemd service into log.txt file. This file should be available after system restart also. How to do this? ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Systemd Logging

2012-03-26 Thread Lennart Poettering
On Thu, 22.03.12 16:28, Jack Wu ([email protected]) wrote: Please do not send HTML mail. > I apologize for spamming. > > I have a question for systemd logging. > > Given the same verbosity level, less logs are shown on console when the > logs (of a systemd service) are directed to ‘stdout’

[systemd-devel] Systemd Logging

2012-03-22 Thread Jack Wu
Hi, I apologize for spamming. I have a question for systemd logging. Given the same verbosity level, less logs are shown on console when the logs (of a systemd service) are directed to ‘stdout’ instead of ‘stderr’. Is this the logging intent for systemd? Would the logging volume be rel

Re: [systemd-devel] systemd logging isl broken

2011-11-11 Thread Michael D. Berger
[email protected] > sktop.org] On Behalf Of Michal Schmidt > Sent: Friday, November 11, 2011 10:19 > To: [email protected] > Subject: Re: [systemd-devel] systemd logging isl broken > > On 11/10/2011 05:47 PM, Michael D. Berger wrote: > >

Re: [systemd-devel] systemd logging isl broken

2011-11-11 Thread Michal Schmidt
On 11/10/2011 05:47 PM, Michael D. Berger wrote: This may be related to the problem repotred in p4p1 changed to p2p1; works oddly reported on: [email protected] I don't see how network device naming is related to this. /bin/systemctl enable myDaemon.service ln -s '/etc

[systemd-devel] systemd logging isl broken

2011-11-10 Thread Michael D. Berger
This may be related to the problem repotred in p4p1 changed to p2p1; works oddly reported on: [email protected] [root@mbrc40 myDaemon]# make enable /bin/systemctl enable myDaemon.service ln -s '/etc/systemd/system/myDaemon.service' '/etc/systemd/system/multi-user.target.wants