Paul Wells
50165a956a
add departure timeout to room ( #625 )
2024-03-05 07:54:36 -08:00
Paul Wells
3339e807ff
add caller to log output ( #620 )
...
* fix log caller
* add test for log output
2024-02-26 08:38:55 -08:00
Paul Wells
4a97b58328
reduce logger heap objects ( #618 )
...
* reduce logger heap objects
* deps
2024-02-26 05:35:35 -08:00
Paul Wells
19dc977fde
reuse zap logger stderr lock ( #617 )
...
* reuse zap logger stderr lock
* typo
2024-02-25 13:10:13 -08:00
Paul Wells
50cd638fea
add stack traces to error logs ( #614 )
2024-02-23 01:26:09 -08:00
Paul Wells
0293e1ec08
log caller ( #610 )
...
* log caller
* fix depth
2024-02-21 14:43:29 -08:00
Paul Wells
a9e0faf6f0
allow intercepting logging ( #609 )
...
* allow intercepting logging
* roll back nats
2024-02-20 20:46:29 -08:00
Paul Wells
ce67e4e290
simplify deferred logger flush ( #563 )
...
* simplify deferred logger flush
* test
* test
2024-01-03 00:23:31 -08:00
Paul Wells
e9e5fcd7d3
fix typo ( #553 )
2023-12-21 02:03:46 -08:00
Paul Wells
b038d892cb
add deferred logger ( #551 )
2023-12-20 23:02:43 -08:00
David Zhao
afa0350bcd
Add call depth to Pion logger ( #536 )
...
Currently all pion logs are showing a caller within the logger itself, which is incorrect
2023-12-02 10:16:55 -08:00
Paul Wells
525419ade0
truncate bytes in proto logs ( #488 )
...
* truncate bytes in proto logs
* fix
2023-10-01 19:38:23 -07:00
Raja Subramanian
0708b5a5bb
Mark marshallable fields with yaml and omitempty ( #477 )
2023-09-19 23:54:18 +05:30
Raja Subramanian
47d330eafb
Log Pion trace level logs at Debug level. ( #468 )
2023-09-11 21:35:09 +05:30
Paul Wells
fc1aa19ec2
add psrpc logger middleware ( #461 )
...
* add psrpc logger middleware
* missing file
2023-09-05 10:10:50 -07:00
David Zhao
f3bba12b3e
Component support for logger ( #436 )
...
* Component support for logger
With the ability to dynamically update log levels per component
* support hierarchical config
* consolidate pion logger to use components
2023-08-03 11:59:04 -07:00
Raja Subramanian
caf65ebc47
Filter out a TURN log. ( #440 )
...
Most frequent error, but all of it is due to non-existent stuff.
Plus, not watched for any debugging.
2023-08-03 12:39:07 +05:30
David Zhao
f38c24c72d
Skip noisy TURN log ( #430 )
2023-07-27 19:42:19 -07:00
David Zhao
c9e9ae555f
Add license headers & NOTICE ( #429 )
...
* Add license headers & NOTICE
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 16:43:25 -07:00
Paul Wells
c108af2ebf
allow annotating rather than omitting field sampler matches ( #406 )
2023-06-20 18:14:38 -07:00
Paul Wells
089430752e
add room log sampler ( #404 )
...
* add room log sampler
* go deps
* feedback
* cleanup
2023-06-18 17:50:42 -07:00
Paul Wells
40c26a892d
add structured logging for protobuf messages ( #377 )
2023-05-12 11:03:44 -07:00
Benjamin Pracht
db5afb1c7f
Protocol support for WHIP ingress ( #366 )
...
The pion logger package was extracted from livekit-server. The err_array code is from egress.
2023-04-27 18:13:59 -07:00
David Zhao
cc52c6ef83
Allow retrieving unsampled logger for critical log lines ( #304 )
2023-02-17 21:48:58 -08:00
David Zhao
fa1edc35c8
Ensure we don't lose context or other logger options ( #289 )
2023-02-01 01:21:09 -08:00
David Zhao
9987dca3a3
Fix item sampler to avoid stacking with default sampler ( #285 )
2023-01-30 17:22:49 -08:00
David Zhao
5875a37d2c
Added ToZap method to return the underlying Zap logger ( #258 )
2022-12-09 14:22:30 -08:00
David Zhao
46717d5070
Support for participant-level log sampling ( #257 )
2022-12-08 23:53:20 -08:00
Benjamin Pracht
9303619f01
Fix typo in logger config ( #248 )
2022-11-08 14:44:55 -08:00
David Zhao
8449c11069
Configurable logger sampling parameters ( #243 )
2022-10-27 23:34:58 -07:00
David Zhao
e3f2240801
Moved common logging functions to protocol ( #118 )
2022-04-19 23:58:34 -07:00
Mathew Kamkar
f3bd2c316e
use defaultLogger when sink is nil
2021-11-02 13:46:37 -07:00
Mathew Kamkar
bde5600f68
Abiltiy to use non default logger ( #37 )
...
* with logger
* WithLogger as type of logr.Logger
* simplify
2021-11-02 12:16:15 -07:00
hn8
4a04d5c374
Fix logr usage ( #21 )
...
* Fix logr usage
- logr.Error() doesn't check level
- logr convention: V0 info, V1 debug, V2 trace
* Remove zap dependency
2021-09-10 13:44:32 -05:00
David Colburn
2b75ba9799
Debugw, Infow, etc
2021-09-07 14:09:16 -07:00
David Colburn
0f1f07c6fe
add logging to protocol
2021-09-07 12:32:40 -07:00