Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Num Num decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr keyword Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A cStringIO nova context nova flags nova log nova test N/A FLAGS N/A flags FLAGS _fake_context N/A N/A N/A N/A N/A N/A N/A context RequestContext 1 1 N/A RootLoggerTestCase N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super RootLoggerTestCase self setUp N/A N/A self log N/A N/A log logging root N/A test_is_nova_instance N/A N/A self N/A N/A N/A N/A N/A self assert_ N/A isinstance N/A self log N/A log NovaLogger N/A test_name_is_nova N/A N/A self N/A N/A N/A N/A N/A self assertEqual nova N/A N/A self log name N/A test_handlers_have_nova_formatter N/A N/A self N/A N/A N/A formatters N/A N/A h N/A N/A self log handlers N/A N/A f N/A h formatter N/A N/A isinstance f N/A log NovaFormatter N/A N/A N/A N/A formatters append f N/A N/A N/A self assert_ formatters N/A N/A N/A self assertEqual N/A len formatters N/A len N/A N/A self log handlers N/A test_handles_context_kwarg N/A N/A self N/A N/A N/A N/A N/A N/A self log info foo context N/A _fake_context N/A N/A N/A self assert_ True N/A test_module_level_methods_handle_context_arg N/A N/A self N/A N/A N/A N/A N/A log info foo context N/A _fake_context N/A N/A N/A self assert_ True N/A test_module_level_audit_handles_context_arg N/A N/A self N/A N/A N/A N/A N/A log audit foo context N/A _fake_context N/A N/A N/A self assert_ True N/A test_will_be_verbose_if_verbose_flag_set N/A N/A self N/A N/A N/A N/A N/A self flags verbose True N/A N/A N/A log reset N/A N/A N/A self assertEqual N/A log DEBUG N/A N/A self log level N/A test_will_not_be_verbose_if_verbose_flag_not_set N/A N/A self N/A N/A N/A N/A N/A self flags verbose False N/A N/A N/A log reset N/A N/A N/A self assertEqual N/A log INFO N/A N/A self log level N/A N/A LogHandlerTestCase N/A N/A test TestCase N/A test_log_path_logdir N/A N/A self N/A N/A N/A N/A N/A self flags logdir /some/path logfile None N/A N/A N/A self assertEquals N/A N/A log _get_log_file_path binary foo-bar /some/path/foo-bar.log N/A test_log_path_logfile N/A N/A self N/A N/A N/A N/A N/A self flags logfile /some/path/foo-bar.log N/A N/A N/A self assertEquals N/A N/A log _get_log_file_path binary foo-bar /some/path/foo-bar.log N/A test_log_path_none N/A N/A self N/A N/A N/A N/A N/A self flags logdir None logfile None N/A N/A N/A self assertTrue N/A N/A N/A log _get_log_file_path binary foo-bar None N/A test_log_path_logfile_overrides_logdir N/A N/A self N/A N/A N/A N/A N/A self flags logdir /some/other/path logfile /some/path/foo-bar.log N/A N/A N/A self assertEquals N/A N/A log _get_log_file_path binary foo-bar /some/path/foo-bar.log N/A N/A NovaFormatterTestCase N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super NovaFormatterTestCase self setUp N/A N/A N/A self flags logging_context_format_string HAS CONTEXT [%(request_id)s]: %(message)s logging_default_format_string NOCTXT: %(message)s logging_debug_format_suffix --DBG N/A N/A self log N/A N/A log logging root N/A N/A self stream N/A N/A cStringIO StringIO N/A N/A self handler N/A N/A log StreamHandler N/A self stream N/A N/A N/A N/A self log addHandler N/A self handler N/A N/A self level N/A N/A self log level N/A N/A N/A N/A self log setLevel N/A log DEBUG N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self log setLevel N/A self level N/A N/A N/A N/A self log removeHandler N/A self handler N/A N/A N/A N/A super NovaFormatterTestCase self tearDown N/A test_uncontextualized_log N/A N/A self N/A N/A N/A N/A N/A N/A self log info foo N/A N/A N/A self assertEqual NOCTXT: foo
 N/A N/A N/A self stream getvalue N/A test_contextualized_log N/A N/A self N/A N/A N/A ctxt N/A _fake_context N/A N/A N/A N/A self log info bar context ctxt N/A expected N/A HAS CONTEXT [%s]: bar
 N/A ctxt request_id N/A N/A N/A self assertEqual expected N/A N/A N/A self stream getvalue N/A test_debugging_log N/A N/A self N/A N/A N/A N/A N/A N/A self log debug baz N/A N/A N/A self assertEqual NOCTXT: baz --DBG
 N/A N/A N/A self stream getvalue N/A N/A NovaLoggerTestCase N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super NovaLoggerTestCase self setUp N/A levels N/A FLAGS default_log_levels N/A N/A N/A levels append nova-test=AUDIT N/A N/A N/A self flags default_log_levels levels verbose True N/A N/A self log N/A N/A log getLogger nova-test N/A test_has_level_from_flags N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A log AUDIT N/A N/A self log level N/A test_child_log_has_level_of_parent_flag N/A N/A self N/A N/A N/A l N/A N/A log getLogger nova-test.foo N/A N/A N/A self assertEqual N/A log AUDIT N/A l level N/A N/A