[source-sync] can't get log-threshold to work as debug
Running the following :
cubicweb-ctl source-sync -l debug -f instance ldap
I don't see any debug logs.
I'm debugging with pdb at https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/blob/branch/default/cubicweb/cwctl.py#L561 and I get :
> /usr/local/lib/python3.9/dist-packages/cubicweb/cwctl.py(565)init_cmdline_log_threshold()->None
-> import pdb; pdb.set_trace()
(Pdb) loglevel
'debug'
(Pdb) config
<cubicweb.pyramid.config.AllInOneConfiguration object at 0x7f5679df6940>
(Pdb) config['log-threshold']
'WARNING'
with cubicweb 3.33.4