본문 바로가기
개발공부/Java & 안드로이드

[안드로이드] D/EGL_emulation: app_time_stats: 없애는 법

by 안스토리 2022. 10. 8.

언제부턴가 에뮬레이터에서 실시간으로 아래 코드가 출력되기 시작했습니다.

D/EGL_emulation: app_time_stats:

D/EGL_emulation: app_time_stats:

D/EGL_emulation: app_time_stats:

D/EGL_emulation: app_time_stats:

D/EGL_emulation: app_time_stats:

 

어떤 의미인줄도 모르겠고, 다른 log를 보는데 방해가 되서 없앨 방법을 찾았습니다.

 

 

우측 상단에서 log를 filter할 수 있는 기능을 선택합니다.

 

 

특정 문자를 포함하고 있는 log를 필터해주면 됩니다.

[Edit Filter Configuration] 클릭

[Log Tag:]에 ^(?!(EGL_emulation)) 입력

[Package Name:]에 ^(?!(\?)) 입력

무슨 의미인줄은 정확히 모르겠으나, 해당 문자열이 포함된 로그를 제외하라는 것으로 이해했습니다.

실행하면 기존의 log가 사라지고 제가 필요로 했던 log만 출력할 수 있는 것을 볼 수 있습니다.

 

 

 

| 참고자료

https://stackoverflow.com/questions/70376084/why-am-i-seeing-egl-emulation-app-time-stats-in-the-log-when-running-on-an-andro

 

Why am I seeing EGL_emulation app_time_stats in the log when running on an Android 12 emulator?

When testing a Flutter app on an emulator running Android 12, I'm seeing lines like these in the logs at regular intervals (approximately every second): D/EGL_emulation(32175): app_time_stats: avg=...

stackoverflow.com