Yeah, you'll need Sup2Ts and 15.x code for EEM 3.x. And you need EEM 3.x to do what you want with an applet. For your code, you will need to use Tcl. That said, you can write your EEM applet using the regexp action, and take that to http://www.marcuscom.com/convert_applet/ to get the Tcl version that will run on your switch. The action in question would be:
action X regexp "Port ([^ ]+) " $_syslog_msg match intf
Then the $intf variable will hold the interface. You can then do whatever you want with it.