projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'documentation-migration' of akkoma.dev:AkkomaGang/akkoma into documenta...
[akkoma]
/
lib
/
pleroma
/
telemetry
/
logger.ex
diff --git
a/lib/pleroma/telemetry/logger.ex
b/lib/pleroma/telemetry/logger.ex
index 10165c1b221f9a84f8c6690e756da5fef13d2f6b..50f7fcf2a7af3a7c0c6cefe6831bbdacb70e6cfd 100644
(file)
--- a/
lib/pleroma/telemetry/logger.ex
+++ b/
lib/pleroma/telemetry/logger.ex
@@
-15,7
+15,12
@@
defmodule Pleroma.Telemetry.Logger do
[:pleroma, :connection_pool, :client, :add]
]
def attach do
[:pleroma, :connection_pool, :client, :add]
]
def attach do
- :telemetry.attach_many("pleroma-logger", @events, &handle_event/4, [])
+ :telemetry.attach_many(
+ "pleroma-logger",
+ @events,
+ &Pleroma.Telemetry.Logger.handle_event/4,
+ []
+ )
end
# Passing anonymous functions instead of strings to logger is intentional,
end
# Passing anonymous functions instead of strings to logger is intentional,