Log file: <%= @log_file %>

<% if File.exist?(@log_file) %>

Content:

    <%= File.read(@log_file) %>
  
<% else %>

File does not exist.

<% end %>