use basename as log file