Bug #6164
Log level handling in sync-metadata.py
0%
Description
Hi,
When I was trying to troubleshot a problem with Univnautes's SP metadata refereshing, I hit something that seems unintentionnal about log verbosity.
I ran manually this sequence in a root bash shell :
cd /usr/local/univnautes/pffedportal
MD=/var/db/metadata-idps.xml
VIRTUAL_ENV="/usr/local/univnautes"
export VIRTUAL_ENV
PATH="$VIRTUAL_ENV/bin:$PATH"
export PATH
python ./manage.py sync-metadata --source="federation" --idp --verbosity=3 $MD
Excepted behavior :
On stdout, messages like (variable replaced...) :Creating %(what)s %(name)s, %(id)s
and Updating %(what)s %(name)s, %(id)s
Actual Behavior :
No output except the fatal error that I am tracking.
(Work as expected if --verbosity=2
)
(Dumb) patch attached.
Fichiers
Historique
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Nouveau à Rejeté
- Patch proposed changé de Oui à Non
These concerns have been adressed in the upstream package but as univnautes architecture is changing current code is not going to be updated.