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 |
|