Check if log file is present else dont attach it