Rewritten admin log interface
(cherry picked from commit 251c8cd)
(cherry picked from commit 8e5df4e)