Repository: flutter
Issue: android_camerax plugin is flooding console with debug logging while video is being recorded
Labels: platform-android,p: camera,package,has reproducible steps,P2,team-android,triaged-android,found in release: 3.22

### Steps to reproduce

1. Launch the [camerax example app](packages/camera/camera_android_camerax/example/lib/main.dart) on a physical Android device
2. Select camera and tap the "record video" button
3. Observe console is flooded with endless debug logging like this

```
D/Recorder(11173): Sending VideoRecordEvent Status
D/Recorder(11173): Sending VideoRecordEvent Status
D/Recorder(11173): Sending VideoRecordEvent Status
D/Recorder(11173): Sending VideoRecordEvent Status
...
```

### Expected results

Plugin should not flood console with debug logging.

### Actual results

Such unnecessary and excessive debug logging should not be happening. It is putting a hard load on the IDE and is getting in a way to seeing anything useful logged by the app.

I traced it down to Android's `androidx.camera.video.Recorder.updateVideoRecordEvent()` [method](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:camera/camera-video/src/main/java/androidx/camera/video/Recorder.java;l=3178-3199
).

The [androidx.camera.core.Logger](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:camera/camera-core/src/main/java/androidx/camera/core/Logger.java;l=28-31) suggests to use `Logger. setMinLogLevel(..)` during the process of configuring CameraX. Perhaps `Log.ERROR` would be a good default.


### Code sample

<details open><summary>Code sample</summary>

Use the camera_android_camerax [example app](packages/camera/camera_android_camerax/example/lib/main.dart)

</details>


### Screenshots or Video

N/A

### Logs

N/A

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.22.0, on macOS 13.6.6 22G630 darwin-arm64, locale en-CA)
    • Flutter version 3.22.0 on channel stable at ***
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (5 days ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at ***
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = ***
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] Connected device (4 available)
    • SM S916W (mobile)               • R5CW51YL0NV           • android-arm64  • Android 14 (API 34)

[✓] Network resources
    • All expected network resources are available.
```

</details>