we're trying to track down an issue, and are using the 'print STDERR foo' to kind of get a feel for the logic flow of livejournal... this process, while crude is doable!!
our problem right now, is that we're trying to find out how/where BML.pm works... we use 'print STDERR foo' at the top of the file, thinking that we'll then be able to check the apache error_log file to see the output. after we restarted apache, and invoked the http://foo.com/login.bml we didn't see an entry in the error_log file for the BML.pm debug statement.
we can see the output from other 'print STDERR' statements in the error_log file. any idea as to what's going on?