20 Commits

Author SHA1 Message Date
John Garland
298b85c368 Improve autoadd filename matching (fixes #1614) 2011-03-26 17:33:26 +11: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
cfeae2baf4 Fix #1109 auto add halting when a torrent with invalid filename encoding is in the directory 2010-02-28 16:21:46 -08:00
Andrew Resch
a23812f880 Fix #1014 autoadd should verify that the autoadd location is a directory 2009-09-21 05:39:43 +00:00
Andrew Resch
ba6f30dad1 Add a deluge._libtorrent module to handle importing libtorrent
Use the new module
2009-07-26 03:26:18 +00:00
Andrew Resch
d67477f6e2 Add OpenSSL exception to all GPL headers 2009-05-18 21:51:49 +00:00
Andrew Resch
85ad5314fe Make the autoadd update interval 5 seconds as intended 2009-04-09 00:10:05 +00:00
Andrew Resch
d4445adf20 Fix importing system libtorrent 2008-12-16 04:32:03 +00:00
Andrew Resch
55e694e80b Change libtorrent import behaviour to first try importing deluge.libtorrent and then libtorrent. It will now also raise an ImportError if libtorrent version is not 0.14. 2008-12-10 23:30:09 +00:00
Andrew Resch
c6ddaeaac7 Remove OpenSSL exception from license headers 2008-11-23 04:58:01 +00:00
Andrew Resch
a0bf6d8fe1 Remove trailing whitspace from *.py 2008-11-17 00:57:32 +00:00
Andrew Resch
86d1624cff Deluge will now use a system libtorrent library if available. 2008-10-17 17:52:12 +00:00
Andrew Resch
5647f61bab Fix to prevent Deluge from segfaulting when trying to autoadd an
incomplete torrent file
2008-08-17 17:27:56 +00:00
Andrew Resch
e21183f125 Add an additional check in the try statement to prevent loading invalid
torrents
2008-08-14 06:46:35 +00:00
Marcos Pinto
6fa31d1dc0 change copyright notices to gpl3 2008-08-08 05:59:07 +00:00
Andrew Resch
9d40380f71 New option to make a copy of torrent file added to session.
Have torrentmanager handle old state files better by filling in the 
missing fields with defaults.
2008-06-14 02:10:23 +00:00
Andrew Resch
5936aeebb6 Fix #270 autoadd folder 2008-06-14 00:32:52 +00:00
Andrew Resch
4c867264f9 Add '-c, --config' options to set config directory. 2008-04-05 22:40:35 +00:00
Andrew Resch
34ca508410 AutoAdd fix. 2008-03-31 12:04:14 +00:00
Andrew Resch
4ff17ee367 Implement AutoAdd folder. 2008-03-31 01:37:59 +00:00