allow "pretty" format for logging into files

ref #88