How do I enable debug.log output in my DOS shell?

Here is how I start my openfire server on Windows in a DOS shell:

@echo off


*TITLE Openfire Server

*echo. Launching Openfire jar


*set JAVA_HOME=C:\JavaSoft

*cd C:\openfire\bin

%JAVA_HOME%/bin/java.exe -jar …/lib/startup.jar

I am wondering how I can pass a option to the startup so that all the debug output will print to my DOS console (as well as to the debug.log).

Thanks. (6698 Bytes)


with the next Openfire version you can do this as it uses Log4J for logging.