Explicitly set heat.conf logging_exception_prefix
Gate logs for heat jobs really need to log stack traces with TRACE instead of ERROR because some traces are being printed by passing exc_info=True to LOG.info so they are not actual errors. TRACE should be the default for oslo.log but something in the gate setup is setting it to ERROR. Setting explicitly here restores the desired pattern and protects against gate default overrides. Change-Id: Id85287324fa6dc79d67fb1ed37c3f256d661133e Closes-Bug: #1606404
This commit is contained in:
parent
75f46e9339
commit
587d0b4058
|
@ -31,6 +31,7 @@ fi
|
|||
echo -e 'notification_driver=messagingv2\n' >> $localconf
|
||||
echo -e 'hidden_stack_tags=hidden\n' >> $localconf
|
||||
echo -e 'encrypt_parameters_and_properties=True\n' >> $localconf
|
||||
echo -e 'logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s\n' >> $localconf
|
||||
|
||||
echo -e '[heat_api]\nworkers=2\n' >> $localconf
|
||||
echo -e '[heat_api_cfn]\nworkers=2\n' >> $localconf
|
||||
|
|
Loading…
Reference in New Issue