Add `-l' command line flag to specify logfile path