ZODB Components: Migrate Products.ERP5Type.Log from filesystem.
testUpgradeInstanceWithOldDataFs: Upgrade erp5_upgrader too (it was in keep list until now) as old Data.fs contains ERP5UpgraderUtils Extension with import of Products.ERP5Type.Log. Although, erp5_upgrader should probably be automatically upgraded before even starting the upgrade...
... | ... | @@ -12,7 +12,7 @@ There are runtime values hidden in every dialog form (injected by getHateoas Scr |
extra_param_json - JSON serialized extra parameters for the dialog script | ||
""" | ||
from Products.ERP5Type.Log import log, WARNING | ||
from erp5.component.module.Log import log, WARNING | ||
|
||
from Products.Formulator.Errors import FormValidationError | ||
import json | ||
... | ... |
-
Owner
Have we considered allowing
logging
module in restricted python ?this log module was horrible
-
mentioned in commit romain/erp5@3cf747f2
-
mentioned in commit romain/erp5@06ed56b0
-
mentioned in merge request !1213 (merged)
-
mentioned in commit romain/erp5@b932b014
-
mentioned in commit romain/erp5@1892063c
-
mentioned in commit romain/erp5@7104fab9
-
mentioned in commit romain/erp5@73095e98
-
mentioned in commit romain/erp5@3c08df62
-
mentioned in commit romain/erp5@f28f4b15
-
mentioned in commit romain/erp5@37e00996
-
mentioned in commit romain/erp5@410744dc