Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Set logging in upmpdcli.conf but /var/log/moodeupnp.log
#14
(06-20-2020, 01:00 PM)TheOldPresbyope Wrote: A quick test of my suggestion to write to logfilename = /tmp/moodeupnp.log resulted instead in a file named /tmp/upexplo.log??? That suggests to me that upmpdcli isn't parsing its configuration file correctly.

I want to build the current version of upmpdcli and its supporting libraries and test whether logging has changed before I query Francois (the upmpdcli developer). I built it before but in a well-intended but misguided housecleaning exercise wiped out the disk volume I was using in my testing.

Regards,
Kent


So it seems that the /tmp/upexplo.log file is created when the upmpdcli renderer starts with debug logging enabled. It's brief and has owner root.root. Its name is suggestive that it is actually created by a upmpdcli component named upexplorer but I haven't checked that yet.

C++ code is not my cup of tea and I got lost trying to trace through the sources, but having now built upmpdcli 1.4.12, I find that it properly creates and logs to the /tmp/moodeupnp.log file I asked for, owned by upmpdcli.root. The /tmp/upexplo.log file gets created initially still.

Tim has included the build instructions for upmpdcli 1.4.12 in /other/build/build_recipe_v2.23.txt in the develop branch of the moOde github repo.

Regards,
Kent
Reply


Messages In This Thread
RE: Set logging in upmpdcli.conf but /var/log/moodeupnp.log - by TheOldPresbyope - 06-28-2020, 03:27 PM

Forum Jump: