Skip to content

Logs are never displayed when a media is parsed by the preparser

Description

Previous title: "Logging is not fully functional on Android"

It seems logging on Android silently drops some messages. I was debugging https://code.videolan.org/videolan/vlc-android/-/issues/644 and tried first to look at the logs. But it seems at least messages from the access/ftp.c module can't make it to the logs, not even msg_Err.

Expected behavior

All log messages from the code executed appear in the log.

Actual behavior

At least some of the messages are silently dropped.

Steps to reproduce

  1. Enable verbose logging in Settings > Advanced
  2. Go to Settings > Advanced > Debug logs. Press Start Logging.
  3. Go to Browse tab, add an FTP server to favourites.
  4. Try to connect.
  5. Looks at the logs, there will be no messages from access/ftp.c

Screenshot / video

Screenshot is not really feasible here but there are several logs from different people uploaded in https://code.videolan.org/videolan/vlc-android/-/issues/644

Context

App version

VLC 3.3.2

Android version

Android 11

Device model

Google Pixel 3 XL

App mode

Smartphone

Edited by Thomas Guillem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information