I want to log errors of my flash application after I released it.  

I will save the logs on files on the web server.  

Do you know how to get error message and stack trace when you use normal version(not debug version) of flash player?