Fix NumberFormatException crash if numberOfLogFiles argument not set.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>