﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33183	"keepdb results in ""Using existing database"" log line, even when no database exists"	Valentijn Scholten	nobody	"The log output for running tests with `--keepdb` can be confusing:

- make sure no test database exists
- run a test with `--keepdb`
- observe log output `Using existing test database for alias 'default'...`
- observe that a new test database is created now, without any log output (unless there are migrations which output logs)

Offending code: https://github.com/django/django/blob/ca9872905559026af82000e46cde6f7dedc897b6/django/db/backends/base/creation.py#L44

Solution:
Update log lines to reflect what's happening.

"	Cleanup/optimization	closed	Database layer (models, ORM)	3.2	Normal	duplicate	keepdb		Unreviewed	0	0	0	0	0	0
