Debugging

Log Files

Yanel is using log4j for logging, whereas the configuration can be found at
  • Source version: conf/log4j.properties or conf/local/local.log4j.properties
  • Binary version: TOMCAT/webapps/yanel/WEB-INF/classes/log4j.properties
Check for the settings within log4j.properties in order to find the location of the actual log files, whereas the default settings are:
  • Source version: tail -F YANEL_SOURCE/logs/*
  • Binary version: tail -F webapps/yanel/WEB-INF/classes/logs/*

Debugging Client-Server Communication

The client-server communication can be debugged with various tools. Two of them are listed below
  • java -classpath axis-1_4/lib/axis.jar org.apache.axis.utils.tcpmon
  • sudo ngrep -d eth0 "" "port 8080" (or for local deployments: sudo ngrep -d lo0 "" "port 8080")


Your comments are much appreciated

Is the content of this page unclear or you think it could be improved? Please add a comment and we will try to improve it accordingly.