Author: tack
Date: Wed Apr 18 23:40:51 2007
New Revision: 2645
Modified:
trunk/base/src/config.py
Log:
Log which settings changed.
Modified: trunk/base/src/config.py
==============================================================================
--- trunk/base/src/config.py (original)
+++ trunk/base/src/config.py Wed Apr 18 23:40:51 2007
@@ -864,7 +864,8 @@
cb = Callback(lambda *args: changed_names.append(args[0]))
self.add_monitor(cb)
self.load()
- log.info('Config file %s modified; %d values changed.' %
(self._filename, len(changed_names)))
+ log.info('Config file %s modified; %d settings changed.' %
(self._filename, len(changed_names)))
+ log.debug('What changed: %s', ', '.join(changed_names) or
'nothing')
self.remove_monitor(cb)
elif mask & (INotify.IGNORED | INotify.MOVE_SELF):
# File may have been replaced, check mtime now.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog