Hi all, I have a script which call a java program, the logging (to log file) in the program is done using log4j. However, as a safety measure, i still choose to direct standard error to another log file as follow
/usr/bin/java -classpath ${classpath} -Xmx128m TestingProgram 2>> ${LOG_PATH}/${LOG_FILE}
in this log file, i can still see those log messages that i log using log4j (logger.info("HELLO")), why is that? I thought "2>> " would only redirect standard error, isn't it? THANKS!