Skip to content

Commit 56eabc8

Browse files
committed
feat(logs): use debug instead of info
1 parent 42ba29d commit 56eabc8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/server/app-check.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export function VueFireAppCheckServer(
3838

3939
// FIXME: do we need to avoid creating the appcheck instance on the server?
4040
if (AppCheckMap.has(firebaseApp)) {
41-
logger.info('AppCheck already initialized, skipping server initialization.')
41+
logger.debug(
42+
'AppCheck already initialized, skipping server initialization.'
43+
)
4244
return
4345
}
4446

@@ -50,7 +52,7 @@ export function VueFireAppCheckServer(
5052
getToken: () => {
5153
// FIXME: without this there is an infinite loop
5254
if (currentToken) {
53-
logger.info('Using cached AppCheck token on server.')
55+
logger.debug('Using cached AppCheck token on server.')
5456
return Promise.resolve(currentToken)
5557
}
5658
logger.debug('Getting Admin AppCheck')
@@ -61,7 +63,7 @@ export function VueFireAppCheckServer(
6163
return adminAppCheck
6264
.createToken(firebaseApp.options.appId!, { ttlMillis })
6365
.then(({ token, ttlMillis: expireTimeMillis }) => {
64-
logger.info(
66+
logger.debug(
6567
`Got AppCheck token from the server, expires in ${expireTimeMillis}ms.`
6668
)
6769
// expire the token after the ttl

0 commit comments

Comments
 (0)