app/controllers/miq_ae_tools_controller.rb
# Send the log in text format
Send the log in text format
Send the log in text format
def fetch_log
    assert_privileges("fetch_log")
    disable_client_cache
    send_data($miq_ae_logger.contents(nil, nil),
              :filename => "automation.log") if $miq_ae_logger
    AuditEvent.success(:userid  => session[:userid],
                       :event   => "download_automation_log",
                       :message => _("Automation log downloaded"))
  end
def fetch_log assert_privileges ( "fetch_log" ) disable_client_cache send_data ( $miq_ae_logger . contents ( nil , nil ) , :filename => "automation.log" ) if $miq_ae_logger AuditEvent . success ( :userid => session [ :userid ] , :event => "download_automation_log" , :message => _ ( "Automation log downloaded" ) ) end
Send the log in text format
Send the log in text format