Rework on init/exit log messages.

Moved start log messages to lua, to make easier to enable/disable those
messages.