changed base_dir to base-dir, added default log level