I have changed my setup so that errors get redirected to a file. As this didn't work directly from the srvany Application registry setting, I instead get that to launch a .bat script. The script then does the following:
perl -w "P:\Music\SlimServer\trunk\server\slimserver.pl" >P:\Music\SlimServer\trunk\output.txt 2>P:\Music\SlimServer\trunk\error.txt net stop slimtrunk standard output is redirected to output.txt, and errors to error.txt. If (when!) the slimserver perl process dies, the next command will stop my service, which means the srvany.exe application is stopped, and the services list will indicate that the service isn't running. This seems a bit neater. Perhaps I should add this as a (optional?) step in the wiki instructions? It would be nice to be able to write an error report entry to the application event log (eg. read the error.txt file and write it to the event log) - not sure how to do this from a batch script though. I haven't tried turning on debug options yet - would those get logged by slimserver to another file, and/or get written to stdout? Phil _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/beta
