# cherrypy.test.test_logging module

Basic tests for the CherryPy core: request handling.

cherrypy.test.test_logging.access_log_file(tmp_path_factory)

cherrypy.test.test_logging.configure_server(access_log_file, error_log_file)

cherrypy.test.test_logging.error_log_file(tmp_path_factory)

cherrypy.test.test_logging.log_tracker(access_log_file)

cherrypy.test.test_logging.server(configure_server)

cherrypy.test.test_logging.shutdown_server()

cherrypy.test.test_logging.test_UUIDv4_parameter_log_format(log_tracker, monkeypatch, server)

  Test rendering of UUID4 within access log.

cherrypy.test.test_logging.test_custom_log_format(log_tracker, monkeypatch, server)

  Test a customized access_log_format string, which is a feature of _cplogging.LogManager.access().

cherrypy.test.test_logging.test_escaped_output(log_tracker, server)

cherrypy.test.test_logging.test_normal_return(log_tracker, server)

cherrypy.test.test_logging.test_normal_yield(log_tracker, server)

cherrypy.test.test_logging.test_timez_log_format(log_tracker, monkeypatch, server)

  Test a customized access_log_format string, which is a feature of _cplogging.LogManager.access().

cherrypy.test.test_logging.test_tracebacks(server, caplog)

cherrypy.test.test_logging.test_utc_in_timez(monkeypatch)

  Test `LazyRfc3339UtcTime` renders as `str` UTC timestamp.