Skip to content

Commit

Permalink
Merge pull request #60 from plus-tdd/hotfix/alarm
Browse files Browse the repository at this point in the history
헬스체크 로그 제거
  • Loading branch information
codesejin authored Jul 26, 2023
2 parents 6bca1fc + d25964c commit 812e6fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ export class AppController {
@Get()
getHello(): { statusCode: number; data: string } {
const logger = new Logger('application.app.controller');
console.log('???');
logger.info('안녕하세요', '대문입니다.');
const data = this.appService.getHello();
return { statusCode: 200, data };
}

@Get('/health')
getHealth(): { statusCode: number; data: string } {
const logger = new Logger('application.app.controller');
logger.warn('Health check', '서비스 정상 동작 확인');
return { statusCode: 200, data: 'Health check passed!' };
}

Expand Down

0 comments on commit 812e6fa

Please sign in to comment.