add self when assigning a value to log_date and output_file on daemon.rb