gitlab-runner adds "<nil>" lines to syslog logging
Summary
With standard logging, CI Runner adds "nil" strings to syslog:
2017-05-17T09:14:04-06:00 cihost gitlab-runner[7010]: time="2017-05-17T09:14:04-06:00" level=warning msg="Requested service stop: terminated" builds=0
<nil>
2017-05-17T09:14:04-06:00 cihost gitlab-runner[7010]: time="2017-05-17T09:14:04-06:00" level=info msg="All workers stopped. Can exit now" builds=0
<nil>
2017-05-17T09:14:04-06:00 cihost gitlab-runner[11591]: time="2017-05-17T09:14:04-06:00" level=info msg="Starting multi-runner from /home/gitlab_ci_multi_runner/.gitlab-runner/config.toml ..." builds=0
<nil>
2017-05-17T09:14:04-06:00 cihost gitlab-runner[11591]: time="2017-05-17T09:14:04-06:00" level=info msg="Running in system-mode."
<nil>
2017-05-17T09:14:04-06:00 cihost gitlab-runner[11591]: time="2017-05-17T09:14:04-06:00" level=info
<nil>
2017-05-17T09:14:04-06:00 cihost gitlab-runner[11591]: time="2017-05-17T09:14:04-06:00" level=info msg="Configuration loaded" builds=0
<nil>
2017-05-17T09:14:04-06:00 cihost gitlab-runner[11591]: time="2017-05-17T09:14:04-06:00" level=info msg="Metrics server disabled"
<nil>
Experience on two different systems, one of which is a brand new installation and used for CI Runner only.
Steps to reproduce
Just have a standard gitlab-ci-multi-runner
deb package installed on the latest Debian
Actual behavior
<nil>
lines after each Runner's log message (see above)
Expected behavior
just the meaningful messages.
Relevant logs and/or screenshots
Above.
Environment description
> lsb_release -d
Description: Debian GNU/Linux 8.8 (jessie)
> dpkg -l | egrep "(syslog|gitlab|docker)"
ii docker-engine 17.05.0~ce-0~debian-jessie amd64 Docker: the open-source application container engine
ii gitlab-ci-multi-runner 9.1.1 amd64 GitLab Runner
ii syslog-ng 3.5.6-2 all Enhanced system logging daemon (metapackage)
ii syslog-ng-core 3.5.6-2+b1 amd64 Enhanced system logging daemon (core)
ii syslog-ng-mod-amqp 3.5.6-2+b1 amd64 Enhanced system logging daemon (AMQP plugin)
ii syslog-ng-mod-geoip 3.5.6-2+b1 amd64 Enhanced system logging daemon (GeoIP plugin)
ii syslog-ng-mod-json 3.5.6-2+b1 amd64 Enhanced system logging daemon (JSON plugin)
ii syslog-ng-mod-mongodb 3.5.6-2+b1 amd64 Enhanced system logging daemon (MongoDB plugin)
ii syslog-ng-mod-redis 3.5.6-2+b1 amd64 Enhanced system logging daemon (Redis plugin)
ii syslog-ng-mod-smtp 3.5.6-2+b1 amd64 Enhanced system logging daemon (SMTP plugin)
ii syslog-ng-mod-sql 3.5.6-2+b1 amd64 Enhanced system logging daemon (SQL plugin)
ii syslog-ng-mod-stomp 3.5.6-2+b1 amd64 Enhanced system logging daemon (STOMP plugin)
> docker info
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 3
Server Version: 17.05.0-ce
Storage Driver: overlay
Backing Filesystem: extfs
Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Kernel Version: 4.9.0-0.bpo.2-amd64
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.66GiB
Name: cihost
ID: VMUU:EOKM:VPC4:FB2R:6MW4:A4VC:QAKY:4KYM:KR5R:D2PH:2WBA:SPTT
Docker Root Dir: /srv/docker-data
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
10.200.25.6:5000
127.0.0.0/8
Live Restore Enabled: false
Used GitLab Runner version
> gitlab-runner --version
Version: 9.1.1
Git revision: 6104325
Git branch: 9-1-stable
GO version: go1.7.5
Built: Tue, 02 May 2017 10:43:57 +0000
OS/Arch: linux/amd64