Add logfile capabilities