1
0
Fork 0
mirror of https://github.com/pomerium/pomerium.git synced 2025-07-11 05:48:18 +02:00
Commit graph

7 commits

Author SHA1 Message Date
Joe Kralicky
fe31799eb5
Fix many instances of contexts and loggers not being propagated ()
This also replaces instances where we manually write "return ctx.Err()"
with "return context.Cause(ctx)" which is functionally identical, but
will also correctly propagate cause errors if present.
2024-10-25 14:50:56 -04:00
Caleb Doxsey
d2c14cd6d2
logging: remove ctx from global log methods ()
* log: remove warn

* log: update debug

* log: update info

* remove level, log

* remove contextLogger function
2024-10-23 14:18:52 -06:00
Caleb Doxsey
dad954ae16
core/logging: change log.Error function ()
* core/logging: change log.Error function

* use request id
2024-09-05 15:42:46 -06:00
Caleb Doxsey
2771a5ae87
core/config: refactor file watcher ()
* core/config: refactor file watcher

* add comments

* updates

* only use the polling watcher

* fix test

* fix test

* try to fix test again

* remove batching

* dont rely on file modification timestamp

* remove benchmark

* try fix again
2023-11-03 15:53:20 -06:00
Caleb Doxsey
d147846e64
fileutil: update watcher to use fsnotify and polling ()
* fileutil: update watcher to use fsnotify and polling

* raise timeout

* maybe fix
2022-10-19 09:13:08 -06:00
wasaga
e0c09a0998
log context () 2021-04-22 10:58:13 -04:00
Caleb Doxsey
10912add67
config: detect underlying file changes ()
* wip

* cleanup

* add test

* use uuid for temp dir, derive root CA path from filemgr for tests

* fix comment

* fix double close

* use latest notify
2021-01-14 18:06:02 -07:00