Commit Graph
27 Commits
Author SHA1 Message Date
Alessandro RosandGitHub a0745e1220 emit structured logs with nanosecond precision (#4924) (#5404) 2026-02-05 16:31:23 +01:00
9e9fae9a10 add structured logging (#5219)
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-12-27 20:42:06 +01:00
Alessandro RosandGitHub 3692b2448a set syslog priority and do not write level and date to syslog (#4923) (#5296)
When writing log entries to syslog, pass the level (WARN, INFO, etc)
directly to syslog. Avoid writing level and date. This provides a
better integration and allows to use syslog search tools.
2025-12-27 14:06:26 +01:00
Alessandro RosandGitHub ea4c4f1fbb disable syslog logging on macOS (#5005) (#5295) 2025-12-27 13:59:33 +01:00
Alessandro RosandGitHub ff187b6d8a update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
Alessandro RosandGitHub fad64a87bd bump golangci-lint (#4550) 2025-05-23 15:10:21 +02:00
Alessandro RosandGitHub 986e270862 count and log all discarded frames, decode errors, lost packets (#4363)
Discarded frames, decode errors and lost packets were logged
individually, then there was a mechanism that prevented more than 1 log
entry per second from being printed, resulting in inaccurate reports.

Now discarded frames, decode errors and lost packets are accurately
counted, and their count is printed once every second.
2025-03-25 21:59:58 +01:00
1069e131b0 allow to customize syslog prefix (#4356)
Co-authored-by: Кадышев Вячеслав <v.kadyshev@dssl.ru>
2025-03-24 15:54:33 +01:00
Alessandro RosandGitHub 716660217d remove deprecated build flags syntax (#3930) 2024-11-06 15:07:33 +01:00
Alessandro RosandGitHub 576a117c7c bump Golang to 1.23 (#3702) 2024-11-04 14:02:05 +01:00
Alessandro RosandGitHub 5fb7f4e846 force all readers to use an asynchronous writer (#2265)
needed by #2255
2023-08-30 11:24:14 +02:00
Alessandro RosandGitHub 659f19f8bb enable errcheck (#2201) 2023-08-13 16:38:23 +02:00
Alessandro RosandGitHub 5e0b9b8426 disable colored log lines when output is not a terminal (#1477) (#2050) 2023-07-11 20:08:00 +02:00
Alessandro RosandGitHub 225220ddd5 print warning in case no key frames are being received (#1763) 2023-05-04 20:16:41 +02:00
Alessandro RosandGitHub 053f2ec282 rename repository and executable (#1641) 2023-04-01 19:52:06 +02:00
aler9 f1fb00b80f update golangci-lint 2022-09-17 21:19:45 +02:00
aler9 ea13509411 print log to stdout instead of stderr (#1042) 2022-07-16 12:14:59 +02:00
aler9 76eb2c2c2b fix lint errors 2021-11-22 15:09:03 +01:00
aler9 5ea4fdb764 run gofumpt 2021-11-15 20:09:07 +01:00
aler9 07db2ce0ef print log levels with 3 characters 2021-10-27 20:00:05 +02:00
aler9 75d4f1437d add "error" log level 2021-10-27 19:54:36 +02:00
aler9 b21efeb28f restore logLevel: debug 2021-10-05 20:36:15 +02:00
aler9 99323ba740 update golangci-lint 2021-05-23 18:51:21 +02:00
aler9 35a7644ee6 add colors to terminal output 2021-04-27 21:24:00 +02:00
aler9 c10faac9e5 move syslog into logger 2021-03-25 20:30:36 +01:00
aler9 692b236c6c update linter settings 2020-12-08 12:37:31 +01:00
aler9 74b592b211 implement log levels; print requests and responses when log level is "debug" (#116) 2020-12-08 12:21:06 +01:00