Start a Server and See Logging Output
By ByronNevins on Apr 23, 2007
We developers do this all the time:
- start DAS and/or NodeAgent
- tail -f on the 2 server.logs
There is an easier way! Use the --verbose option. This will start the server but it will not return control to asadmin. Instead it will take over the command window and all logging output will go to the window as well as the server logfile. As a bonus, you can press Ctrl-Break (on Windows) to trigger a thread dump.
You can Ctrl-C out of the command window at any time without disturbing the server.
asadmin start-domain --verbose
asadmin start-node-agent --verbose