Move logger config to top level, add log level option.

Bulk index builds can be very verbose at DEBUG.