Aliaksandr Valialkin
|
d6347a3e56
|
lib/logger: initialize timezone by UTC in order to fix failing tests
|
2021-01-27 00:59:12 +02:00 |
|
Aliaksandr Valialkin
|
3fe848cdd7
|
lib/logger: add -loggerTimezone command-line flag for adjusting timezone for timestamps in log messages
|
2021-01-26 22:51:54 +02:00 |
|
Aliaksandr Valialkin
|
bf95fbfc1d
|
lib/logger: disable rate limiting for error and warn logs by default
|
2020-11-24 12:42:25 +02:00 |
|
Aliaksandr Valialkin
|
97a0c80904
|
lib/logger: follow-up for 09105ff49c
|
2020-11-19 12:37:00 +02:00 |
|
Nikolay
|
09105ff49c
|
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:17:23 +02:00 |
|
Aliaksandr Valialkin
|
a6b2b2c005
|
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:37 +02:00 |
|
Aliaksandr Valialkin
|
127537d631
|
app/vmagent/remotewrite: do not show -remoteWrite.url in logs if -remoteWrite.showURL isn't set
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/773
|
2020-09-29 19:49:12 +03:00 |
|
Aliaksandr Valialkin
|
29108cc53e
|
lib/logger: add -loggerDisableTimestamps command-line flag for disabling timestamps in logs
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/778
|
2020-09-21 19:28:04 +03:00 |
|
Aliaksandr Valialkin
|
ab53cb6f7b
|
app/vmagent: substitute -remoteWrite.url with secret-url value in logs, since it may contain sensitive info such as passwords or auth tokens
Pass `-remoteWrite.showURL` command-line flag in order to see real `-remoteWrite.url` values in logs and at `/metrics` page.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/773
|
2020-09-16 22:36:25 +03:00 |
|
Aliaksandr Valialkin
|
b5206ce33f
|
lib/logger: add -loggerErrorsPerSecondLimit for limiting the rate of ERROR messages
|
2020-06-23 12:41:36 +03:00 |
|
Aliaksandr Valialkin
|
2fd2dec5eb
|
lib/logger: typo fix
|
2020-04-16 00:19:10 +03:00 |
|
Aliaksandr Valialkin
|
071fdf5518
|
lib/logger: add WARN level for logging expected errors such as invalid user queries
|
2020-04-15 20:50:26 +03:00 |
|
Aliaksandr Valialkin
|
40c6ae2952
|
lib/logger: initialize output to os.Stderr by default
|
2020-02-04 22:40:44 +02:00 |
|
Aliaksandr Valialkin
|
e0a4c37fc1
|
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:47:56 +02:00 |
|
Aliaksandr Valialkin
|
7f3e3a6034
|
lib/logger: do not clutter -loggerFormat=json output with stack trace
This should improve json parsing
|
2020-02-04 21:37:25 +02:00 |
|
Aliaksandr Valialkin
|
6caa9bb51b
|
lib/logger: fix improperly set skipframes for all the logging functions
The bug has been introduced in the previous commit f6baee6efe
|
2020-01-26 18:34:27 +02:00 |
|
Aliaksandr Valialkin
|
f6baee6efe
|
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:17:59 +02:00 |
|
Aliaksandr Valialkin
|
31d04fb5df
|
Revert "lib/logger: prevent from blocking when log output isn't consumed in timely manner"
This reverts commit e3c462f08a .
Reason to revert: this leaves incomplete logs on app shutdown.
|
2019-12-24 12:21:39 +02:00 |
|
Aliaksandr Valialkin
|
e3c462f08a
|
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:34 +02:00 |
|
Aliaksandr Valialkin
|
f5ac9b0721
|
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:10:05 +02:00 |
|
Aliaksandr Valialkin
|
42da569bcd
|
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:44:40 +02:00 |
|
Aliaksandr Valialkin
|
542b9c2043
|
lib/logger: consistency renaming from vm_log_messages_count to vm_log_messages_total , since this is a counter
|
2019-12-02 00:49:00 +02:00 |
|
Aliaksandr Valialkin
|
c567919f80
|
lib/logger: track the number of log messages by (level, file, line) in the vm_log_messages_count metric
|
2019-12-01 18:37:49 +02:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|