6724071: refactor Log into a front end and back end

Reviewed-by: darcy
5 files changed