JC: added to log controller load which_table from session.