implemented logging server, started on main app