second logging possibility. Mathieu, check it