Skip to content

Commit

Permalink
backend: Improved logs when service starts
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Jun 28, 2024
1 parent 2f3f3ba commit b6a4c68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openvidu-call-back/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ import {
CALL_AWS_S3_BUCKET,
CALL_AWS_S3_SERVICE_ENDPOINT,
CALL_AWS_ACCESS_KEY,
CALL_AWS_SECRET_KEY
CALL_AWS_SECRET_KEY,
CALL_ADMIN_USER,
CALL_AWS_REGION
} from './config.js';

dotenv.config();
Expand Down Expand Up @@ -70,6 +72,7 @@ app.listen(SERVER_PORT, () => {
console.log('CALL SECRET: ', credential('****' + CALL_SECRET.slice(-3)));
}

console.log('CALL ADMIN USER: ', credential('****' + CALL_ADMIN_USER.slice(-3)));
console.log('CALL ADMIN PASSWORD: ', credential('****' + CALL_ADMIN_SECRET.slice(-3)));
console.log('---------------------------------------------------------');
console.log(' LIVEKIT Configuration');
Expand All @@ -85,6 +88,7 @@ app.listen(SERVER_PORT, () => {
console.log('CALL_AWS_S3_SERVICE_ENDPOINT:', text(CALL_AWS_S3_SERVICE_ENDPOINT));
console.log('CALL_AWS_ACCESS_KEY:', credential('****' + CALL_AWS_ACCESS_KEY.slice(-3)));
console.log('CALL_AWS_SECRET_KEY:', credential('****' + CALL_AWS_SECRET_KEY.slice(-3)));
console.log('CALL_AWS_REGION:', text(CALL_AWS_REGION));
console.log('---------------------------------------------------------');});

export default app;

0 comments on commit b6a4c68

Please sign in to comment.