Why do you say that this is not okay for a production server?
What I'm really looking for is some sort of proof that the email made
it out of railo and "into the world" when someone calls and says "we
didn't get the email". ACF had the mailsent.log that could easily me
see what was sent. Setting the rail mail log level to "info" only
gives me the basic info. Ie .
"INFO","web-0","02/08/2012","12:35:45","mail","send mail"
"INFO","web-0","02/08/2012","12:37:32","mail","send mail"
"INFO","web-0","02/08/2012","12:37:33","mail","send mail"
"INFO","web-0","02/08/2012","12:55:46","mail","send mail"
I've written my own log with enough info to actually identify the
email (along with the time) but I don't feel comfortable that I can
expect that the time I write after I call CFMAIL (with spooling) is
the same as what Railo writes in the log. I.e. if it gets stuck in
the spool it seems reasonable to think that the time in the railo log
would be later.
Unfortunately I don't have the time to look through the railo source
to figure out what's going on or how to extend it myself as I am under
a deadline and don't know Java...