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

PHPBB3-12107
Merge pull request #1947 from bantu/ticket/12107

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