3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/web-servers
Hamish Mackenzie 0e5c971af8
minio: Output server logs & startup in json format
Currently minio logs with enhanced tty data and journalctl does not include anything useful as a result:

```
Jun 08 11:03:28 alpha minio[17813]: [78B blob data]
Jun 08 11:03:28 alpha minio[17813]: [49B blob data]
Jun 08 11:03:28 alpha minio[17813]: [19B blob data]
Jun 08 11:03:28 alpha minio[17813]: [88B blob data]
Jun 08 11:03:28 alpha minio[17813]: [45B blob data]
Jun 08 11:03:28 alpha minio[17813]: [44B blob data]
Jun 08 11:03:28 alpha minio[17813]: [57B blob data]
```

Indicating that it detected some binary output.  With the `--json` flag it logs:

```
Jun 08 11:14:58 alpha minio[18573]: {"level":"FATAL","time":"2018-06-07T23:14:58.770637778Z","error":{"message":"--address input is invalid: address 127.0.0.1: missing port in address","source":["/build/go/src/github.com/minio/minio/cmd/server-main.go:121:cmd.serverHandleCmdArgs()"]}}
```
2018-06-08 11:22:00 +12:00
..
apache-httpd apache-httpd: fix typo in config servedFiles 2018-03-28 03:47:25 +02:00
hitch hitch: init at 1.4.8 + service + test (#39358) 2018-05-01 10:36:36 +01:00
jboss JBoss AS: list known vulnerability 2017-03-13 18:45:19 +01:00
lighttpd nixos/gitweb: add gitwebTheme option 2018-04-17 20:07:01 +03:00
nginx nixos/nginx: emphasize that useACMEHost does not create certs 2018-05-17 20:48:02 +02:00
phpfpm phpfpm service: allow netlink sockets for sendmail 2017-08-29 00:41:31 +02:00
varnish varnish4: init at 4.1.9; varnish6: init at 6.0.0 2018-03-20 07:10:36 +00:00
caddy.nix nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1 2018-05-12 19:27:09 +00:00
fcgiwrap.nix fcgiwrap module: use enum 2016-11-04 13:04:52 +09:00
meguca.nix meguca: git-2018-05-17 -> git-2018-05-20 2018-05-26 07:03:49 -05:00
mighttpd2.nix nixos/mighttpd2: init 2018-01-16 21:04:09 +00:00
minio.nix minio: Output server logs & startup in json format 2018-06-08 11:22:00 +12:00
shellinabox.nix shellinabox service: intial implementation 2015-07-04 21:18:13 +12:00
tomcat.nix nixos/tomcat: add types + proper systemd integration 2018-03-08 09:09:42 +00:00
traefik.nix nixos/traefik: make group configurable for docker support (#34749) 2018-02-09 09:37:29 +00:00
uwsgi.nix uwsgi service: fix for new pythonPackages 2016-12-08 21:03:41 +03:00
winstone.nix winstone module: optionSet -> submodule 2016-09-13 12:53:12 +09:00
zope2.nix zope2 module: instance option loaOf -> attrsOf 2016-11-16 16:34:00 +09:00