Commit Graph

5 Commits (78724e5c20e6189f86f97bbb110c9ca050101624)

Author SHA1 Message Date
Sam Arnold aa2fcd295f
fix(logger): Ensure default level value is info (#17403) (#20937)
(cherry picked from commit 4d5a688a1e)

Co-authored-by: Ayan George <ageorge@influxdata.com>
2021-03-12 16:34:51 -05:00
Ben Wells c6cd433306 Golint logger package 2019-02-03 20:11:31 +00:00
Jonathan A. Sternberg 2bb5b68833 Add an auto choice that will choose the most appropriate logger
This restricts the logging format options so console cannot be chosen.
This way, logs written to a non-TTY will never be the console format.
2018-02-14 11:56:29 -05:00
Jonathan A. Sternberg 2efc9ddbac Add an option to suppress the initial logo
For any systems that want to read the log file in the specific format,
the logo being printed on restart may not be good for those parsers
since the log parser would have to be aware of the logos existance or
capable of just ignoring lines it couldn't parse.

This gives an option to disable the printed logo if required.

Like other logging options, this will fail if the configuration file
itself is invalid.
2018-02-14 10:11:02 -05:00
Jonathan A. Sternberg ccf2e549b8 Add logging configuration to the main configuration file
Make logfmt the default log output format with json and a more user
friendly console into possible options.
2018-02-14 10:11:02 -05:00