11 Commits

Author SHA1 Message Date
Pedro Algarvio
7035b1f166 Specify the plugin's name on logging calls. 2011-07-06 11:10:46 +01: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
d67477f6e2 Add OpenSSL exception to all GPL headers 2009-05-18 21:51:49 +00:00
Andrew Resch
703e9def05 Change some plugin stuff and add an example plugin 2009-02-23 23:54:06 +00:00
Andrew Resch
c6ddaeaac7 Remove OpenSSL exception from license headers 2008-11-23 04:58:01 +00:00
Martijn Voncken
d4dec67fc4 plugin-javascript 2008-10-28 22:20:38 +00:00
Marcos Pinto
6fa31d1dc0 change copyright notices to gpl3 2008-08-08 05:59:07 +00:00
Andrew Resch
64e8a34940 Blocklist updates 2008-07-19 22:37:40 +00:00
Andrew Resch
0ccfb483ba Plugin system updates 2008-07-18 23:46:57 +00:00
Andrew Resch
eacc6dd08f Queue plugin update.
Plugin system updates.
2007-11-03 07:24:45 +00:00
Andrew Resch
c11e61355b Add testing plugin.
Plugins should now enable/disable properly and save enabled/disabled 
state.
2007-11-02 02:40:44 +00:00