Improve asset scanner logging

- Add log when scanner start is requested and when skipped due to already running
- Remove noisy 'no mime_type' info log (expected during fast stub phase)

Amp-Thread-ID: https://ampcode.com/threads/T-019c4f56-3fe1-72cb-888a-3ac4ac99b3d7
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Luke Mino-Altherr
2026-02-11 16:59:49 -08:00
parent b89e5de40e
commit b407a80d5a
3 changed files with 7 additions and 3 deletions

View File

@@ -165,8 +165,6 @@ def batch_insert_seed_assets(
path_to_asset_id[absolute_path] = asset_id
mime_type = spec.get("mime_type")
if mime_type is None:
logging.info("batch_insert_seed_assets: no mime_type for %s", absolute_path)
asset_rows.append(
{
"id": asset_id,