Andrew Resch
499a58f50d
Revert 67ea05921cb904cb2ddf5811cd96534321bfeefa which changed how event handlers worked.
...
Unfortunately this will not work with plugins as they do not have the events defined and
the creation of the event object fails.
2011-02-23 10:47:16 -08:00
Pedro Algarvio
2fa8ca6753
Merge branch 'master' into improved-logging
...
Conflicts:
ChangeLog
deluge/plugins/autoadd/autoadd/gtkui.py
deluge/ui/client.py
2010-12-13 12:31:20 +00:00
Pedro Algarvio
67ea05921c
Implemented passing a copy of an event instead of it's arguments to event handlers. Necessary changes to the event handlers on deluge's code were made, plugins still need to be ported to this new style.
2010-12-11 05:11:18 +00:00
Pedro Algarvio
3b00a7de59
Swhiched the old style logging, ie, a single logger for all logging output to several loggers. This brings the ability to tweak the logging levels for each of the loggers, ie, we can have the "deluge" logger be at the ERROR level while having "deluge.core" at the DEBUG level, meaning we will only see log message for all of the deluge loggers above the ERROR level while still having all messages above the DEBUG level for the "deluge.core" logger and it's children. This kind of tweak can be achieved by adding a file named "logging.conf" to deluge's config dir and this is explained on the deluge.log.tweak_logging_levels function.
...
Passing `-r` to the cli's while also passing `-l` will make the logfile rotate when reaching 5Mb in size. Three backups will be kept at all times.
All deluge's code is now using this new style logging along with the git hosted plugins. For other plugins not hosted by deluge, which still imports `LOG` as the logger, a deprecation warning will be shown explaining the required changes needed to use the new style logging. New plugins created by the `create_plugin` script will use the new logging facilities.
2010-12-06 11:20:22 +00:00
Andrew Resch
61dd9a5589
Fix setting config values in the console ui including setting paths with
...
spaces in them
2010-04-18 18:07:26 -07:00
Andrew Resch
d67477f6e2
Add OpenSSL exception to all GPL headers
2009-05-18 21:51:49 +00:00
Andrew Resch
56735452a8
Clean-up CoreConfig a bit
2009-05-18 21:34:24 +00:00
Andrew Resch
6d33ff9902
Add '__getattr__' to CoreConfig to access the dictionary directly
2009-04-25 00:30:11 +00:00
Andrew Resch
56a1c50bc6
Add a defer property to use to check when the CoreConfig is ready
2009-04-18 18:27:35 +00:00
Andrew Resch
b6f40a8115
Move CoreConfig component out of GtkUI since it's UI independent
2009-04-17 21:09:14 +00:00