3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
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
..
admin nixos/oxidized: add module 2018-05-24 04:40:45 +02:00
amqp
audio mpd: fix spelling in description 2018-06-03 09:55:26 +02:00
backup nixos/borgbackup: make extraArgs a shell variable 2018-05-24 13:53:25 +02:00
cluster/kubernetes kubernetes: corrected spelling mistake in docs (#41439) 2018-06-04 05:45:25 +00:00
computing nixos/slurm: remove propagatedBuidInputs from slurmWrapped 2018-06-02 14:01:24 +02:00
continuous-integration nixos/buildkite-agent: fix variable expansion in hook scripts 2018-04-27 12:17:40 +01:00
databases nixos mysql: make start-up more robust (#41010) 2018-05-24 16:42:16 +02:00
desktops nixos/flatpak: add flatpak's XDG_DATA_DIRS to the environment 2018-05-22 02:26:21 +02:00
development
editors Merge pull request #39478 from pngwjpgh/infinoted 2018-05-01 10:22:25 -05:00
games ghostOne: remove 2017-12-29 02:18:35 +01:00
hardware Merge pull request #39137 from peterhoeg/m/lcd 2018-04-28 22:57:59 +00:00
logging graylog: use jre_headless 2018-03-22 02:29:27 +01:00
mail nixos/exim: Add unit restart trigger (#41418) 2018-06-03 21:22:55 +02:00
misc nixos/sandbox: improve documentation. 2018-06-07 21:43:52 +01:00
monitoring Merge pull request #40028 from WilliButz/add-dnsmasq-exporter 2018-06-01 23:18:49 -04:00
network-filesystems Merge pull request #40879 from seppeljordan/pr-ipfs-port-scanning 2018-05-24 10:53:49 +02:00
networking Merge pull request #34886 from leenaars/mortyproxy 2018-06-02 10:26:09 +00:00
printing nixos/cupsd: Introduce services.printing.logLevel option 2018-04-27 16:41:49 +00:00
scheduling nixos/modules/services/scheduling/fcron: add setuid to fcrontab 2018-05-06 11:24:09 -07:00
search elasticsearch6: fix startup due to missing jvm.options 2018-04-18 00:38:48 +02:00
security sshguard: service creates /var/lib/sshguard 2018-05-05 00:29:44 -05:00
system Add localtime package and nixos module 2017-12-03 11:42:51 +01:00
torrent Merge pull request #33679 from flokli/deluge-module 2018-04-25 14:54:34 -05:00
ttys nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
web-apps crowd: 3.0.1 -> 3.1.2 2018-05-24 04:40:47 +02:00
web-servers minio: Output server logs & startup in json format 2018-06-08 11:22:00 +12:00
x11 Merge pull request #40579 from peterhoeg/m/sddm 2018-05-30 16:23:07 +08:00