Collectstatic verbosity, again

135 views
Skip to first unread message

Fran Hrženjak

unread,
Dec 12, 2020, 5:45:08 AM12/12/20
to Django developers (Contributions to Django itself)
I would love to get only one line of output when running `collectstatic` command with `-v1`. This is actually so, except when using `--clear` option. With it I still get hundreds of lines of output similar to:

Deleting 'admin/img/icon-calendar.svg'

There seemed to be a consensus about this, but I guess that the `--clear` option went unnoticed?

I'd like to change this output level to 2:

Any reasons against?

Jure Erznožnik

unread,
Dec 14, 2020, 1:20:47 AM12/14/20
to django-d...@googlegroups.com

I'd just like to mention that ManifestStaticFilesStorage doesn't output one line. It will output a line for every file, even if file with that hash already exists. This is without the clear flag.

I hope it's relevant to the discussion: seems different storages implement output separately.

LP,
Jure

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ecc96304-8b62-498b-bb04-54769997c0fcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages