Customize api logging level.