def setup
@logging_params_call = 0
@set_logging_params_call = 0
@modified_count_call = 0
@set_modified_count_call = 0
@set_modified_count_value = nil
@store = {
'stdout_logging_level' => 'notice',
'logfiles' => [
{ 'path' => 'server.log', 'logging_level' => 'notice' },
{ 'path' => 'access.log', 'logging_level' => 'info' },
{ 'path' => 'debug.log', 'logging_level' => 'debug' }
]
}
@stdout_logging_level_call = 0
@set_stdout_logging_level_call = 0
@logfiles_call = 0
@del_logfile_at_call = 0
@del_logfile_at_pos = nil
loader = WPM::Loader.new('../control/Logging/Logging.rb')
@Logging = loader.const_get('Logging').new(self, { :control => self })
assert((@Logging.is_a? WPM::PageContext))
@Logging.init_context
end