Adds logging to ActionFunction test