I am creating Flex web application with java. and deployed on tomcat server. I have created logging in java using log4j. But not able to understand how to start logging in flex web application. I have searched lot but not find any stepwise solution for this problem. Here I am not using blazeDS. Please suggest how to create log file for flex and stored to server.