# File lib_ctrl/rucy/params.rb, line 596
    def server_setup(control, server)
      if (@params['access_log_logging']) then
        server.logging_access(@params['access_log_format'])
      end
      for logfile in @params['access_logs']
        begin
          output = File.open(logfile['path'], 'a')
          control.add_logfile(output)
          access_log = AccessLog.new(output, logfile['format'])
          server.add_access_log(access_log)
          server.debug("open #{logfile['path'].inspect} access log.")
        rescue StandardError, ScriptError
          server.err("error: not opened #{logfile['path'].inspect}: (#{$!.class}) #{$!}")
          control.logging_errors.push({ :logfile => logfile['path'],
                                        :exception => $!
                                      })
        end
      end
      nil
    end