Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Relax log level

Chocobozzzb0f420426605
diff --git a/server/lib/activitypub/actors/refresh.ts b/server/lib/activitypub/actors/refresh.ts
index 0acaa9f62c..8ce2cd5d93 100644
--- a/server/lib/activitypub/actors/refresh.ts
+++ b/server/lib/activitypub/actors/refresh.ts
@@ -48,7 +48,7 @@ async function doRefresh <T extends MActorFull | MActorAccountChannelId> (option
const { actorObject } = await fetchRemoteActor(actorUrl)
if (actorObject === undefined) {
- logger.warn('Cannot fetch remote actor in refresh actor.')
+ logger.info('Cannot fetch remote actor %s in refresh actor.', actorUrl)
return { actor, refreshed: false }
}
@@ -67,7 +67,7 @@ async function doRefresh <T extends MActorFull | MActorAccountChannelId> (option
return { actor: undefined, refreshed: false }
}
- logger.warn('Cannot refresh actor %s.', actor.url, { err, ...lTags() })
+ logger.info('Cannot refresh actor %s.', actor.url, { err, ...lTags() })
return { actor, refreshed: false }
}
}
diff --git a/server/lib/activitypub/actors/shared/url-to-object.ts b/server/lib/activitypub/actors/shared/url-to-object.ts
index 982d52b79a..7bc37f1ff8 100644
--- a/server/lib/activitypub/actors/shared/url-to-object.ts
+++ b/server/lib/activitypub/actors/shared/url-to-object.ts
@@ -47,7 +47,7 @@ async function fetchActorTotalItems (url: string) {
return body.totalItems || 0
} catch (err) {
- logger.warn('Cannot fetch remote actor count %s.', url, { err })
+ logger.info('Cannot fetch remote actor count %s.', url, { err })
return 0
}
}
diff --git a/server/middlewares/auth.ts b/server/middlewares/auth.ts
index ad3b24ab21..904d47efd1 100644
--- a/server/middlewares/auth.ts
+++ b/server/middlewares/auth.ts
@@ -14,7 +14,7 @@ function authenticate (req: express.Request, res: express.Response, next: expres
return next()
})
.catch(err => {
- logger.warn('Cannot authenticate.', { err })
+ logger.info('Cannot authenticate.', { err })
return res.fail({
status: err.status,