Hi Suresh_k,
you can use the following command to store your log report from appium:
public static void startAppium() throws ExecuteException, IOException, InterruptedException
{
String appiumPath="give the path of your appium folder"
CommandLine command = new CommandLine("cmd");
command.addArgument("/c");
command.addArgument(appiumPath+"//Appium//node.exe");
command.addArgument(appiumPath+"//Appium//node_modules//appium//bin//appium.js");
command.addArgument("--address");
command.addArgument("127.0.0.1");
command.addArgument("--port");
command.addArgument("4723");
command.addArgument("--no-reset");
command.addArgument("--command-timeout");
command.addArgument("120");
//command.addArgument("--log"); if you want to store the appium log use this and next one
//command.addArgument("C://Users//...//log//appiumLogs.txt");
DefaultExecuteResultHandler resultHandler = new DefaultExecuteResultHandler();
DefaultExecutor executor = new DefaultExecutor();
executor.setExitValue(1);
executor.execute(command, resultHandler);
Thread.sleep(5000);
//return true;
}