Hi All,

I have some log messages and sysout statments in my java code.
I am executing my code through a shell script.
I could able to see all my sysout statments since I have redirected stdout message to a file.
Now I need to see the log messages to the same output file.
Please if somebody could help me to solve the above problem.

Thanks,
Karthiga

If you have >file to redirect stdout to a file,

then adding this to the command line 2>&1 will also redirect stderr to the file as well.