Made log file name configurable.