Minidlna: change log_level?


#1

I would like to change the log_level from error to debug, but when I’ve modified the /etc/config/minidlna file to include log_level=debug, the service seems to stop logging altogether.

The documentation (https://openwrt.org/docs/guide-user/services/media_server/minidlna) seems to suggest that log_level isn’t a valid switch.

However, the setting is present in /tmp/minidlna.conf:

root@turris:/tmp# cat minidlna.conf 
# this file is generated automatically, don't edit
port=8200
network_interface=br-lan
friendly_name=Turris
db_dir=/var/run/minidlna
log_dir=/var/log
log_level=error
inotify=yes
enable_tivo=no
wide_links=no
strict_dlna=no
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
notify_interval=900
serial=12345678
model_number=1
root_container=.
media_dir=V,/mnt/raid/Media/Movies
media_dir=V,/mnt/raid/Media/Series
media_dir=V,/mnt/raid/Media/Videos
media_dir=P,/mnt/raid/Media/Pictures
media_dir=A,/mnt/raid/Media/Music

I have these minidlna-related packages installed:

  • minidlna (1.2.1-3)
  • luci-app-minidlna (git-18.328.59464-9636605-1)

Are changes to this setting supported?