do we really need that DEBUG flag?

there is a flag called DEBUG inside magento_core.py
Still why not simply use existing OpenERP existing multi-level log instead?

Question information

Language:
English Edit question
Status:
Answered
For:
Magento OpenERP Connector Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#1

The debug flag is required because everytime magento changes we will exactly know where the leak occurs as it shows the input received by magento and the data sent for saving to open erp.

the debug flag should be set to False in all production releases.

IMHO we need DEBUG flag for other developers to sense whats happening also.

Can you help with this problem?

Provide an answer of your own, or ask Raphaël Valyi - http://www.akretion.com for more information if necessary.

To post a message you must log in.