Developers please read:
o The logging stuff is set in sysconfig.py and not in a special file. So every helper importing sysconfig has the logger set up.
o The old _debug_ is gone. I also want to remove config.DEBUG, so if
someone has some time, please port more of the code. I also want to
remove _all_ print statements except for helpers, we should use
logging.
Sounds good, I'll port some code as I touch it.
o The root logging level is WARNING. This means you only see warnings, no info and no debug. To set the level to INFO add the following line to local_conf.py: logging.getLogger().setLevel(logging.INFO) This is more or less identical with the old DEBUG = 1. To see the whole debug (old DEBUG = 2) use the level logging.DEBUG.
Is is possible to have a LOG_LEVEL config item and have config.py translate the value into a setLevel() call?
o We should port all debug to the new logger. While we are doing this,
maybe remove some debug we don't need anymore.
Comments please
I'm glad we're using an actual logging system now. We have lots of print and debug statements to port! :)
-Rob
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel