Archive for January, 2012

Logging each & every request at JBoss Server level

January 7, 2012
Logging each & every request at JBoss Server level

  You can get this by uncommenting & replacing the following valve tag inside server.xml of JBOSS located at $JBOSS_HOME/default/deploy/jbossweb-tomcat50.sar/ (path depends on JBoss version) <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access_log." suffix=".log" pattern="(%h) %t: %r; Time taken to process the request, in millis – %D; Bytes sent, excluding HTTP headers, or ‘-’ if zero – %b;" directory="${jboss.server.home.dir}/log" resolveHosts="false" [...]

‘tree’ command: Directory structure in tree format

January 5, 2012
'tree' command: Directory structure in tree format

'tree' DOS command is pretty much useful to take the tree structure of any directory (including its sub-directories and files also) on windows in the form of text. For example: C:. | OtherFile.txt | ParentTextDocument.txt | +—SubFolder1 | SubTextDocument1.txt | \—SubFolder2 | SubTextDocument2.txt | \—ChildOfSubFolder2 ChildSubTextDocument2.txt Open command prompt in windows and go to the [...]

 

If you have a Tip, Comment, Article or anything you want to share, please send it to: i@poisure.com