fix test for checkIgnore and update code that determines log function args @brianr