cinderblock
9a54beef78
add patch from #1473
2011-02-04 19:43:27 +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
John Garland
bc28b83062
Fix deluged crashing on windows when logfile's directory doesn't exist
2010-05-16 13:11:18 +10:00
Damien Churchill
3c24d72489
use metavar to change the output of --help by optparse
2009-12-13 21:49:10 +00:00
Andrew Resch
25f96f57bb
Remove some unnecessary code
...
Clean up docstrings
2009-07-25 00:39:25 +00:00
Damien Churchill
bbb087c04a
suppress only deprecation warnings
2009-07-01 13:56:36 +00:00
Damien Churchill
74627f682a
use only "twisted" in the module arg as that suppresses all warnings from twisted
2009-07-01 13:51:56 +00:00
Damien Churchill
958c6334b0
suppress depreciation warnings generated by twisted
2009-07-01 13:49:39 +00:00
Damien Churchill
65697faca5
remove unnecessary import
2009-07-01 13:45:56 +00:00
Andrew Resch
019c78db47
Add some command line options to the daemon to set the listen
...
interfaces, -i and -u
2009-05-30 00:22:14 +00:00
Andrew Resch
8c587f7330
Add support to profile the daemon using the --profile option
2009-05-28 18:28:33 +00:00
Andrew Resch
2741623e91
Add some more information to the error message when trying to run
...
multiple daemons
2009-05-20 16:53:32 +00:00
Andrew Resch
5f8a1ed971
Fix up daemon start-up code a bit..
2009-05-20 16:11:54 +00:00
Andrew Resch
d67477f6e2
Add OpenSSL exception to all GPL headers
2009-05-18 21:51:49 +00:00
Andrew Resch
7aea3a290e
Fix up error message when not specifying a directory with the --config option and add this to 1.1.x
2009-05-11 04:10:05 +00:00
Andrew Resch
ad2b771e5d
Fix starting the webui with a logfile option
2009-04-12 19:59:54 +00:00
Andrew Resch
f7b5b20c63
Show an error message if --config option is not a directory
2009-04-06 23:20:32 +00:00
Andrew Resch
c9bd55b819
Don't always log to file in Windows
2009-03-14 23:34:49 +00:00
Andrew Resch
4b711883cb
Do not set sys.stdout,err and stdin to None if logfile is used
2009-02-19 00:52:04 +00:00
Andrew Resch
c374e99cdd
Fix logging exceptions in the daemon
2009-02-02 02:08:59 +00:00
Andrew Resch
f16ff06083
Fix the -l, --logfile option
2009-01-16 00:35:07 +00:00
Andrew Resch
43be3e3e64
Added '-s', '--set-default-ui' option to deluge
2009-01-08 20:27:24 +00:00
Andrew Resch
eb4f1fdb04
Do not fork in osx
2008-12-18 06:14:49 +00:00
Andrew Resch
43e28ec9d5
Add some more details about UI choice
2008-12-14 16:54:51 +00:00
Andrew Resch
1440d6b247
Fix #531 set default log level to ERROR and add 2 command-line options,
...
"-L, --loglevel" and "-q, --quiet".
2008-11-28 23:28:06 +00:00
Andrew Resch
2969ff51f9
Add -P, --pidfile option to deluged
2008-11-26 07:01:19 +00:00
Andrew Resch
c6ddaeaac7
Remove OpenSSL exception from license headers
2008-11-23 04:58:01 +00:00
Andrew Resch
b148d5497b
Implement #478 display UI options in usage help
2008-11-08 07:26:52 +00:00
Andrew Resch
2d257371d9
Add ability to send arguments to UIs with -a, --args
2008-10-26 21:31:13 +00:00
Andrew Resch
1edc4bfe73
Fix-up the main startup code a bit so that Windows is always logging to
...
a file and config folders are properly created for the daemon
2008-08-17 00:56:29 +00:00
Marcos Pinto
6fa31d1dc0
change copyright notices to gpl3
2008-08-08 05:59:07 +00:00
Marcos Pinto
4ebba67fa4
fix logfile for deluge
2008-07-20 04:40:22 +00:00
Marcos Pinto
ceaa06d1ad
only create dirs if they dont exist - fixes crash
2008-07-13 20:16:50 +00:00
Andrew Resch
b57157a16d
Create config folders if they do not exist
2008-07-13 02:58:02 +00:00
Marcos Pinto
5a8662ae03
fix windows launching of daemon
2008-07-10 04:19:22 +00:00
Andrew Resch
19a2ae45e9
Try to fix daemon starting in windows
2008-07-10 03:42:43 +00:00
Andrew Resch
4be277e353
Fix another typo
2008-07-04 21:21:57 +00:00
Andrew Resch
63bbe00eae
Fix typo
2008-07-04 21:17:40 +00:00
Marcos Pinto
0469f4b2d2
dont fork on win
2008-07-01 02:07:57 +00:00
Andrew Resch
7280465cd5
Some windows stuff
2008-06-25 04:37:43 +00:00
Andrew Resch
282f842663
Modify startup script to make a true unix daemon by using two fork()s
...
Work will need to be done to make deluged a windows service
2008-06-17 22:46:55 +00:00
Andrew Resch
4c867264f9
Add '-c, --config' options to set config directory.
2008-04-05 22:40:35 +00:00
Andrew Resch
073b62408f
Show revision number in version if available.
2008-01-25 02:28:34 +00:00
Andrew Resch
bbe31367d4
Use os.popen2() instead of os.fork() to daemonize.
2008-01-22 11:45:56 +00:00
Andrew Resch
a5d3444fd8
Initial commit of WebUI support for 0.6. The WebUI revision is 187.
...
You can start the webui by doing: $ deluge --ui web
2008-01-11 01:42:47 +00:00
Andrew Resch
8f592b6330
Fix some exceptions.
2007-10-27 04:35:09 +00:00
Andrew Resch
1f8884f903
Enabled 'start local daemon' in ConnectionManager.
...
Change startup scripts: deluged runs daemon and deluge runs ui.
Minor fix-ups.
2007-10-25 07:42:14 +00:00
Andrew Resch
ec5c970499
Add 'deluged' script to start the deluge daemon.
2007-09-20 19:56:05 +00:00
Andrew Resch
6a525530ee
Big code clean-up and some refactoring. Added docstrings but more are
...
needed.
2007-08-26 14:34:50 +00:00
Andrew Resch
2eb455179b
Updates
2007-07-25 00:43:37 +00:00