Log switch