David Bennett
1a86fd1a2d
Config Option to Enable Logging with Local Time ( #9123 )
...
* Configurable local time logging
* make timezone configurable
* Address linter feedback.
* update with example
2021-04-16 14:39:19 -04:00
Sven Rebhan
9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} ( #8969 )
2021-04-09 13:15:04 -04:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Daniel Nelson
8cba5941be
Skip logging when logfile is unset ( #6648 )
2019-11-11 17:03:03 -08:00
Vlasta Hajek
7ec54d4be9
Improve startup error reporting when ran as Windows service ( #4291 )
2019-08-28 14:34:44 -07:00
javicrespo
bcf7516a23
Add in process log rotation ( #5778 )
2019-05-03 10:25:28 -07:00
scier
7787ea2dcc
Create log file in append mode ( #5497 )
2019-02-27 16:33:38 -08:00
Daniel Nelson
2c98e5ae66
Add collectd parser ( #2654 )
2017-04-12 10:41:26 -07:00
Cameron Sparr
47de43abf3
Use rfc3339 timestamps in telegraf log output
...
closes #1564
also add unit and benchmark tests
2016-11-03 18:39:02 +00:00
Cameron Sparr
b00ad65b08
Log config file parsing errors properly
...
closes #1344
2016-10-12 16:50:22 +01:00
Cameron Sparr
c7834209d2
Major Logging Overhaul
...
in this commit:
- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.
closes #1786
2016-10-03 17:13:03 +01:00