Start a Server and See Logging Output

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


Comments:

Its is useful one.. thanks!

Posted by Hakim on July 08, 2008 at 06:42 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

ByronNevins

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today