ctl: ignore error_log in collectstatic calls as it's run as root (#17761)
This commit is contained in:
parent
1c687adc90
commit
483f20855a
|
@ -34,6 +34,7 @@ class CmdCollectStatic(Command):
|
|||
def execute(self, base_options, sub_options, args):
|
||||
import publisher
|
||||
publisher.WcsPublisher.configure(self.config)
|
||||
publisher.WcsPublisher.ERROR_LOG = None
|
||||
pub = publisher.WcsPublisher.create_publisher(
|
||||
register_cron=False, register_tld_names=False)
|
||||
return self.collectstatic(pub,
|
||||
|
|
Loading…
Reference in New Issue