Only log message the first 10 times