Skip to content

Display and control your Android device

Configure log level for application only

Romain Vimont6e1069a82282
diff --git a/app/src/main.c b/app/src/main.c
index 29c9b423..7d7ddb82 100644
--- a/app/src/main.c
+++ b/app/src/main.c
@@ -71,7 +71,7 @@ main(int argc, char *argv[]) {
}
SDL_LogPriority sdl_log = convert_log_level_to_sdl(args.opts.log_level);
- SDL_LogSetAllPriority(sdl_log);
+ SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, sdl_log);
if (args.help) {
scrcpy_print_usage(argv[0]);