# File test/test_Logging.rb, line 161
    def test_logfile
      assert_equal(1, @logging_params_call)
      @Logging.log_path_call_index = 1
      @Logging.log_emerg_call_index = 1
      @Logging.log_alert_call_index = 1
      @Logging.log_crit_call_index = 1
      @Logging.log_err_call_index = 1
      @Logging.log_warning_call_index = 1
      @Logging.log_notice_call_index = 1
      @Logging.log_info_call_index = 1
      @Logging.log_debug_call_index = 1
      assert_equal('access.log', @Logging.log_path)
      assert_equal(false, @Logging.log_emerg)
      assert_equal(false, @Logging.log_alert)
      assert_equal(false, @Logging.log_crit)
      assert_equal(false, @Logging.log_err)
      assert_equal(false, @Logging.log_warning)
      assert_equal(false, @Logging.log_notice)
      assert_equal(true, @Logging.log_info)
      assert_equal(false, @Logging.log_debug)
      @Logging.log_path = 'server.debug.log'
      @Logging.log_emerg = true
      @Logging.log_alert = true
      @Logging.log_crit = true
      @Logging.log_err = true
      @Logging.log_warning = true
      @Logging.log_notice = true
      @Logging.log_info = false
      @Logging.log_debug = true
      assert_equal('server.debug.log', @Logging.log_path)
      assert_equal(true, @Logging.log_emerg)
      assert_equal(true, @Logging.log_alert)
      assert_equal(true, @Logging.log_crit)
      assert_equal(true, @Logging.log_err)
      assert_equal(true, @Logging.log_warning)
      assert_equal(true, @Logging.log_notice)
      assert_equal(false, @Logging.log_info)
      assert_equal(true, @Logging.log_debug)
      @Logging.log_path_call_index = 2
      @Logging.log_emerg_call_index = 2
      @Logging.log_alert_call_index = 2
      @Logging.log_crit_call_index = 2
      @Logging.log_err_call_index = 2
      @Logging.log_warning_call_index = 2
      @Logging.log_notice_call_index = 2
      @Logging.log_info_call_index = 2
      @Logging.log_debug_call_index = 2
      assert_equal('debug.log', @Logging.log_path)
      assert_equal(false, @Logging.log_emerg)
      assert_equal(false, @Logging.log_alert)
      assert_equal(false, @Logging.log_crit)
      assert_equal(false, @Logging.log_err)
      assert_equal(false, @Logging.log_warning)
      assert_equal(false, @Logging.log_notice)
      assert_equal(false, @Logging.log_info)
      assert_equal(true, @Logging.log_debug)

      @Logging.write_logging_parameter
      assert_equal(1, @set_logging_params_call)
      assert_equal(3, @logging_params['logfiles'].length)
      assert_equal('server.log', @logging_params['logfiles'][0]['path'])
      assert_equal(true, @logging_params['logfiles'][0]['log_emerg'])
      assert_equal(true, @logging_params['logfiles'][0]['log_alert'])
      assert_equal(true, @logging_params['logfiles'][0]['log_crit'])
      assert_equal(true, @logging_params['logfiles'][0]['log_err'])
      assert_equal(true, @logging_params['logfiles'][0]['log_warning'])
      assert_equal(true, @logging_params['logfiles'][0]['log_notice'])
      assert_equal(false, @logging_params['logfiles'][0]['log_info'])
      assert_equal(false, @logging_params['logfiles'][0]['log_debug'])
      assert_equal('server.debug.log', @logging_params['logfiles'][1]['path'])
      assert_equal(true, @logging_params['logfiles'][1]['log_emerg'])
      assert_equal(true, @logging_params['logfiles'][1]['log_alert'])
      assert_equal(true, @logging_params['logfiles'][1]['log_crit'])
      assert_equal(true, @logging_params['logfiles'][1]['log_err'])
      assert_equal(true, @logging_params['logfiles'][1]['log_warning'])
      assert_equal(true, @logging_params['logfiles'][1]['log_notice'])
      assert_equal(false, @logging_params['logfiles'][1]['log_info'])
      assert_equal(true, @logging_params['logfiles'][1]['log_debug'])
      assert_equal('debug.log', @logging_params['logfiles'][2]['path'])
      assert_equal(false, @logging_params['logfiles'][2]['log_emerg'])
      assert_equal(false, @logging_params['logfiles'][2]['log_alert'])
      assert_equal(false, @logging_params['logfiles'][2]['log_crit'])
      assert_equal(false, @logging_params['logfiles'][2]['log_err'])
      assert_equal(false, @logging_params['logfiles'][2]['log_warning'])
      assert_equal(false, @logging_params['logfiles'][2]['log_notice'])
      assert_equal(false, @logging_params['logfiles'][2]['log_info'])
      assert_equal(true, @logging_params['logfiles'][2]['log_debug'])
    end