No description
Find a file
Sébastien Luttringer 1dbb18b80a
Fix tweaking logging levels
When you set a config directory path (-c) on the command line, and only when,
a file named logging.conf is read to set fine grained log levels.
This allows to have per module/plugin log levels.

A simple logging.conf could be:
-<8 -------------------
deluge:info
deluge.plugin.foo:debug
-----------------------

The file is parsed and the log levels are set in the deluge.log.tweak_logging_levels.
This function set the appropriate logger to the desired level.
Despite the log level is changed, log levels less than ERROR are still not
logged.

The reason is that the log level check is done twice, in the logging.Logger class
and in the logging.Handler class.

The fix is to not set the logging level in the Handler in deluge.log.setup_logger
and let only the logging.Logger check the level.

Closes: https://github.com/deluge-torrent/deluge/pull/428
2023-09-18 20:04:14 +01:00
.github/workflows [CI] Bump Pyinstaller version for Windows packaging 2023-09-18 19:56:31 +01:00
deluge Fix tweaking logging levels 2023-09-18 20:04:14 +01:00
docs [Docs] Update changelog and install details 2022-07-08 09:04:57 +01:00
packaging [Packaging] Fix NSIS Uninstaller Not Removing File\Folder 2023-05-30 19:50:23 +01:00
.gitattributes [Tests] Fix erroneous windows line endings in test state file 2022-01-26 18:44:47 +00:00
.gitignore [Tests] Ignore pytest temp dir 2023-05-29 12:10:47 +01:00
.pre-commit-config.yaml [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00
.prettierignore [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.prettierrc.yaml [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.pylintrc Remove all Python 2 support 2021-12-28 19:26:38 +00:00
.readthedocs.yml [Docs] Fix readthedocs builds 2023-09-18 13:00:59 +01:00
AUTHORS [UI] Add magnet icons for copy and add actions 2021-09-21 20:38:08 +01:00
CHANGELOG.md [Common] Replace pkg_resources with importlib for resource path finding 2023-05-29 12:08:34 +01:00
DEPENDS.md [Core] Stopped using libtorrent deprecated functions 2022-02-13 11:36:04 +00:00
gen_web_gettext.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
generate_pot.py [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00
LICENSE Update LICENSE in trunk too.. 2009-04-06 21:17:26 +00:00
MANIFEST.in [Packaging] Fix gtk3 glade path in MANIFEST 2021-11-23 20:07:33 +00:00
minify_web_js.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
msgfmt.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
pyproject.toml [Tests] Fix component warning in Plugin tests 2023-02-28 14:21:18 +00:00
README.md [Docs] Add permanent discord invite link 2022-02-15 15:30:08 +00:00
requirements-dev.txt [Build] Fix WebUI js minifying error 2021-12-15 09:37:55 +00:00
requirements-tests.txt [Tests] Only pin libtorrent for tests 2023-05-30 17:11:13 +01:00
requirements.txt [CI] Fix packaging errors with Python 3.7 2023-09-18 13:00:43 +01:00
setup.cfg [Lint] Update linter version and fix issues 2022-02-13 13:38:27 +00:00
setup.py Update metainfo install path 2023-02-24 13:42:19 +00:00
tox.ini [Tests] Ignore 3rd-party deprecation warnings in pytest 2023-02-27 20:15:12 +00:00
version.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00

Deluge BitTorrent Client

build-status docs-status

Deluge is a BitTorrent client that utilizes a daemon/client model. It has various user interfaces available such as the GTK-UI, Web-UI and Console-UI. It uses libtorrent at its core to handle the BitTorrent protocol.

Install

From PyPi:

pip install deluge

with all optional dependencies:

pip install deluge[all]

From source code:

pip install .

with all optional dependencies:

pip install .[all]

See DEPENDS and Installing/Source for dependency details.

Usage

The various user-interfaces and Deluge daemon can be started with the following commands.

Use the --help option for further command options.

Gtk UI

deluge or deluge-gtk

Console UI

deluge-console

Web UI

deluge-web

Open http://localhost:8112 with default password deluge.

Daemon

deluged

See the Thinclient guide to connect to the daemon from another computer.

Contact