Aliaksandr Valialkin
|
1a6eb0c3cf
|
lib/logger: exit the app if unsupported timezone value has been passed to -loggerTimezone
While at it, clarify descrption for `-loggerTimezone` command-line flag.
|
2021-02-07 23:33:35 +02:00 |
|
Aliaksandr Valialkin
|
2c14c70903
|
lib/logger: initialize timezone by UTC in order to fix failing tests
|
2021-01-27 01:00:57 +02:00 |
|
Aliaksandr Valialkin
|
68a66be811
|
lib/logger: add -loggerTimezone command-line flag for adjusting timezone for timestamps in log messages
|
2021-01-26 22:53:25 +02:00 |
|
Aliaksandr Valialkin
|
a8b5a6e517
|
lib/logger: disable rate limiting for error and warn logs by default
|
2020-11-24 12:42:07 +02:00 |
|
Aliaksandr Valialkin
|
8e1f657ef9
|
lib/logger: follow-up for 09105ff49c
|
2020-11-19 12:37:05 +02:00 |
|
Nikolay
|
f54a5f3868
|
Adds log suppression per caller (#908)
* Adds log suppression per caller
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/905
* fixes style and report message
|
2020-11-19 12:19:20 +02:00 |
|
Aliaksandr Valialkin
|
0895b7f411
|
lib/logger: add -loggerWarnsPerSecondLimit command-line flag for rate limiting of WARN log messages
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/905
|
2020-11-18 03:43:17 +02:00 |
|
Aliaksandr Valialkin
|
d32c3f747c
|
lib/logger: add -loggerDisableTimestamps command-line flag for disabling timestamps in logs
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/778
|
2020-09-21 19:25:50 +03:00 |
|
Aliaksandr Valialkin
|
5fb60dd647
|
lib/logger: add -loggerErrorsPerSecondLimit for limiting the rate of ERROR messages
|
2020-06-23 12:42:59 +03:00 |
|
Aliaksandr Valialkin
|
b2d009c8db
|
lib/logger: typo fix
|
2020-04-16 00:20:02 +03:00 |
|
Aliaksandr Valialkin
|
d4bc60d63c
|
lib/logger: add WARN level for logging expected errors such as invalid user queries
|
2020-04-15 20:50:45 +03:00 |
|
Aliaksandr Valialkin
|
8b360a25e9
|
lib/logger: initialize output to os.Stderr by default
|
2020-02-04 22:43:26 +02:00 |
|
Aliaksandr Valialkin
|
1f271a9815
|
lib/logger: add -loggerOutput command-line flag
This flag allows changing log output from `stderr` to `stdout` if `-loggerOutput=stdout` is set.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/306
|
2020-02-04 21:48:24 +02:00 |
|
Aliaksandr Valialkin
|
49ab3fa076
|
lib/logger: do not clutter -loggerFormat=json output with stack trace
This should improve json parsing
|
2020-02-04 21:40:20 +02:00 |
|
Aliaksandr Valialkin
|
81ba371eaf
|
lib/logger: fix improperly set skipframes for all the logging functions
|
2020-01-26 18:34:58 +02:00 |
|
Aliaksandr Valialkin
|
9f595cb2b1
|
lib/httpserver: log the caller of httpserver.Errorf
Previously log message contained `httpserver.Errorf`, not it contains the caller of `httpserver.Errorf`, which is more useful.
|
2020-01-25 20:18:06 +02:00 |
|
Aliaksandr Valialkin
|
afa8b34d27
|
Revert "lib/logger: prevent from blocking when log output isn't consumed in timely manner"
This reverts commit 9f50232e70 .
Reason to revert: this leaves incomplete logs on app shutdown.
|
2019-12-24 12:20:45 +02:00 |
|
Aliaksandr Valialkin
|
9f50232e70
|
lib/logger: prevent from blocking when log output isn't consumed in timely manner
Drop log messages instead of blocking and increment `vm_log_messages_dropped_total` metric.
|
2019-12-20 11:49:42 +02:00 |
|
Aliaksandr Valialkin
|
bc3984a5b3
|
lib/logger: add -loggerFormat for choosing log message formats
Supported formats: default, json
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/265
|
2019-12-13 15:09:18 +02:00 |
|
Aliaksandr Valialkin
|
cf85c567d1
|
lib/logger: merge file and line labels into location="file:line"
This should improve the usability for `vm_log_messages_total` metric during practical queries
|
2019-12-02 14:43:09 +02:00 |
|
Aliaksandr Valialkin
|
29f39f866e
|
lib/logger: consistency renaming from vm_log_messages_count to vm_log_messages_total , since this is a counter
|
2019-12-02 00:47:12 +02:00 |
|
Aliaksandr Valialkin
|
15eaff1745
|
lib/logger: track the number of log messages by (level, file, line) in the vm_log_messages_count metric
|
2019-12-01 18:38:30 +02:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|