complete logOnBox