Starting in trace mode from cmd

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
anderstn
Posts: 3
Joined: Sun Dec 13, 2015 5:54 am

Starting in trace mode from cmd

Post by anderstn »

Hi

I'm having some weird issues with the media server on windows 10. One of them is that it won't start via the executable, or the bat script located in the same folder, so i was wondering if there was a command line parameter i could use to start the server with TRACE logging enabled.

Currently I'm using the following command to start the server: java -jar ums.jar -Xmx2048M. This works when i play back some files, and crashes with others.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Starting in trace mode from cmd

Post by Nadahar »

Argument

Code: Select all

trace
will start UMS in trace mode. That probably translates to

Code: Select all

-Dtrace
when launching java manually.
anderstn
Posts: 3
Joined: Sun Dec 13, 2015 5:54 am

Re: Starting in trace mode from cmd

Post by anderstn »

Thank you Nadahar. I was able to isolate the issue with the trace logs. As it turns out you have to write any memory parameters before you tell java which jar file to start otherwise they are completely ignored.
Post Reply