Hi, I am one of BOINC client maintainers. I am trying to figure out why BOINC client 7.6.x does not write logs inside /var/log/boinc{,_err}.log files so I started a very little thread in BOINC forum [1], attaching boinc.service file and other stuff. Reading guides about systemd's debugging, I decided to add Environment=SYSTEMD_LOG_LEVEL=debug to boinc-client.service file, then I have runned: # journalctl -u boinc-client but nothing useful come out, only a few BOINC regular messages, instead #journalctl -b _PID=28226 returned -- Logs begin at dom 2015-12-13 09:18:03 CET, end at sab 2016-05-21 17:26:39 CEST. -- mag 21 17:26:34 host boinc_client[28226]: 21-May-2016 17:26:34 Initialization completed SELinux is in permissive mode. I attach a few useful conf files and outputs. Don't look at Fedora's git because certain files have not yet been updated. ===================== # cat /usr/lib/systemd/system/boinc-client.service [Unit] Description=Berkeley Open Infrastructure Network Computing Client Documentation=man:boinc(1) After=network-online.target [Service] Type=forking Nice=10 User=boinc Group=boinc PermissionsStartOnly=yes WorkingDirectory=/var/lib/boinc ExecStartPre=/usr/bin/touch /var/log/boinc.log /var/log/boinc_err.log ExecStartPre=/bin/chown boinc:boinc /var/log/boinc.log /var/log/boinc_err.log ExecStart=/usr/bin/boinc_client --daemon --start_delay 1 ExecStop=/usr/bin/boinccmd --quit ExecReload=/usr/bin/boinccmd --read_cc_config ExecStopPost=/bin/rm -f /var/lib/boinc/lockfile IOSchedulingClass=idle Environment=LOGFILE=/var/log/boinc.log Environment=ERRORLOG=/var/log/boinc_err.log Environment=SYSTEMD_LOG_LEVEL=debug [Install] WantedBy=multi-user.target ===================== ===================== # ls -latr /var/log/boinc* -rw-r--r--. 1 boinc boinc 0 21 mag 15.58 /var/log/boinc.log -rw-r--r--. 1 boinc boinc 0 21 mag 15.58 /var/log/boinc_err.log ===================== ===================== An entry from top 25657 boinc 39 19 76756 36704 2088 R 64,7 0,2
9:49.40 wcgrid_mcm1_7.3
=====================[1]: http://boinc.berkeley.edu/dev/forum_thread.php?id=11011 |
Attachment:
signature.asc
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx