log circuit first