Disabling trace messages

In the target mode when I do an ftp for some reason there are trace messages spliting out the username and password on the trace window. Now I am not printing these traces and some lower level layer is printing these.
Someone suggested that I use “wmmake myproject -d -release”. Now this disabled all my application level trace messages but the lower level traces continue to come.
I would like to know if there is a way to diable all traces for production version.
Thanks,
PSR