[ticket/12107] Use log table property instead of log table constant.

PHPBB3-12107