add code logging http