feat: send logs into admin room
Log entries will automatically be deduplicated, so a message won't be sent if the same line has already been sent in the last 30 mins
This commit is contained in:
parent
ecea0d4af2
commit
9439f2c183
6 changed files with 87 additions and 23 deletions
|
@ -97,7 +97,7 @@ where
|
|||
handle.read_to_end(&mut body).await.unwrap();
|
||||
|
||||
let http_request = http_request.body(body.clone()).unwrap();
|
||||
log::info!("{:?}", http_request);
|
||||
log::debug!("{:?}", http_request);
|
||||
|
||||
match <T as Outgoing>::Incoming::try_from(http_request) {
|
||||
Ok(t) => Success(Ruma {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue