3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config iproute2: module to create rt_table file & co 2018-05-15 21:55:04 +09:00
hardware Merge branch 'master' into staging 2018-04-10 09:13:36 +02:00
i18n/input-method Added cross-references to NixOS manual 2018-04-12 09:39:14 +10:00
installer Merge branch 'plat-fix-for-merge-2' into master 2018-06-01 20:08:08 +03:00
misc Revert "nixpkgs module: Fix defaulting of localSystem and system" 2018-05-31 15:55:36 -04:00
profiles nixos/installer: Drop dmraid 2018-05-25 01:55:51 +03:00
programs zsh: only do promptInit when TERM!=dumb 2018-05-31 12:34:16 -04:00
security manual: Clarify that limits.conf doesn't apply to systemd services. (#40267) 2018-05-12 17:44:57 +02:00
services minio: Output server logs & startup in json format 2018-06-08 11:22:00 +12:00
system Revert "Merge pull request #38263 from lopsided98/grub-initrd-secrets" 2018-06-07 14:24:59 +02:00
tasks nixos.modules.tasks.swraid: add raid10 module to initrd 2018-05-28 23:49:35 +03:00
testing nixos/tests: set default stateVersion in test VMs 2018-05-14 00:01:15 +02:00
virtualisation Merge pull request #41311 from AmineChikhaoui/fix-gce-fetch-ssh 2018-06-04 11:38:07 +02:00
module-list.nix Merge branch 'staging' 2018-06-03 13:52:13 +02:00
rename.nix kubernetes: update to 1.10 2018-05-25 10:50:36 +02:00