태그 "트러블슈팅" tricks

로그 메시지에 회원 아이디, ip 등 원하는 정보 추가하기
사이트를 운영하면서 오류가 발생을 하면 로그 정보에 많이 의존하게 된다. 하지만 Laravel이 기본으로 제공하는 로그 메시지로는 디버깅이 많이 불편하다. 그래서 로그 메시지에 원하는…
Submitted 9 years ago in Debugging
3084
0
0
redis, logstash, elasticsearch, kibana를 이용해서 실시간 로그 모니터링 하기
웹서비스를 운영하다 보면 장애 탐지나 버그 수정 등 많은 경우 로그 정보에 의존해서 문제를 해결하게 된다. redis, logstash, elasticsearch, kibana의 조합을 사용하면 Laravel에서 남기는 로그의…
Submitted 9 years ago in Debugging, Configuration
6145
0
0
Eloquent 쿼리, 파일에 로그 남기기
Before you start with this create a file in your logs folder (eg : 'query.log') and grant laravel write access to it. Place the snippet in your '/app/start/local.php' file. (or routes.php or anywhere...) Access artisan from your console and type this $…
Submitted 9 years ago in Eloquent, Debugging
2620
0
0
composer update 또는 install 오류 발생했을 때 원인 파악하기
composer update 나 composer install 수행시 오류가 발생했다면 -vvv 옵션으로 오류 발생 지점 및 원인을 좀더 자세하게 볼 수 있다. composer에서 발생한 오류일 수도 있고, php artisan에서 발생한 오류일…
Submitted 9 years ago in Composer
4261
0
1