Files
mattermost/Gopkg.toml
Daniel Fiori 8d56fcf568 Add library and command for human-readable logs (#9809)
* Update logrus to 1.2 and add as a direct dependency

* Create an mlog/human package for pretty-printing logs

This package can read JSON logs from mattermost.log, and output the data to
either logrus or a custom formatter, to make the logs more human readable.

* Create a command for outputting human-readable logs

This command will read JSON data from mattermost.log or stdin, and
output in a human readable format. An optional argument can be used
to activate logrus output (which includes color support).

* Reorganize code in mlog/human and improve logrus timestamp formatting
2018-11-08 10:23:07 -08:00

68 lines
1.6 KiB
TOML

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
# To keep us on latest since maintainer stopped releasing versions
[[constraint]]
name = "github.com/hashicorp/memberlist"
branch = "master"
# To avoid pulling old gorp version, we use master of our fork
[[constraint]]
name = "github.com/mattermost/gorp"
branch = "master"
# Fork for adding our own method to viper EnvSettings
[[constraint]]
name = "github.com/mattermost/viper"
source = "https://github.com/mattermost/viper"
branch = "mattermost"
# Keep back because of breaking API changes
[[constraint]]
name = "github.com/segmentio/analytics-go"
version = "2.1.1"
# Lock to control when plugins use new versions
[[constraint]]
name = "github.com/hashicorp/go-hclog"
revision = "e45cbeb79f0411b1cfedd3f226ff69d5d433c762"
[[constraint]]
name = "github.com/hashicorp/go-plugin"
revision = "a4620f9913d19f03a6bf19b2f304daaaf83ea130"
[[constraint]]
name = "github.com/blang/semver"
version = "~3.5.0"
[prune]
go-tests = true
unused-packages = true
[[constraint]]
name = "github.com/sirupsen/logrus"
version = "1.2.0"