Skip to content

Commit abee783

Browse files
authored
chore(logs): remove unnecessary debug logs (#2696)
1 parent 6464eee commit abee783

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

apps/webapp/app/routes/api.v1.tasks.$taskId.trigger.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,6 @@ const { action, loader } = createActionApiRoute(
103103

104104
const oneTimeUseToken = await getOneTimeUseToken(authentication);
105105

106-
logger.debug("Triggering task", {
107-
taskId: params.taskId,
108-
idempotencyKey,
109-
idempotencyKeyTTL,
110-
triggerVersion,
111-
headers,
112-
options: body.options,
113-
isFromWorker,
114-
traceContext,
115-
realtimeStreamsVersion,
116-
});
117-
118106
const idempotencyKeyExpiresAt = resolveIdempotencyKeyTTL(idempotencyKeyTTL);
119107

120108
const result = await service.call(
@@ -143,11 +131,6 @@ const { action, loader } = createActionApiRoute(
143131

144132
const $responseHeaders = await responseHeaders(result.run, authentication);
145133

146-
logger.debug("responseHeaders authentication", {
147-
authentication,
148-
responseHeaders: $responseHeaders,
149-
});
150-
151134
return json(
152135
{
153136
id: result.run.friendlyId,

apps/webapp/app/services/apiAuth.server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ async function authenticateApiKeyWithFailure(
236236
case "PUBLIC_JWT": {
237237
const validationResults = await validatePublicJwtKey(result.apiKey);
238238

239-
logger.debug("validatePublicJwtKey", { validationResults });
240-
241239
if (!validationResults.ok) {
242240
return validationResults;
243241
}

apps/webapp/app/services/realtime/jwtAuth.server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export async function validatePublicJwtKey(token: string): Promise<ValidatePubli
3939
environment.parentEnvironment?.apiKey ?? environment.apiKey
4040
);
4141

42-
logger.debug("validateJWT result", { result });
43-
4442
if (!result.ok) {
4543
switch (result.code) {
4644
case "ERR_JWT_EXPIRED": {

0 commit comments

Comments
 (0)