Commit Graph

105 Commits

Author SHA1 Message Date
Sergio Conde ad3deb7c21 Fix AttributeError exception in log.py with python3.4 2014-04-01 20:16:20 +02:00
Valentin Lorentz 35a62b4e77 Continue accelerating the 2to3 step (remove fix_ws_comma, fix_xreadlines, and fix_zip). 2014-01-21 10:40:18 +01:00
Valentin Lorentz ca419f6485 Continue accelerating the 2to3 step (remove fix_reduce, fix_renames, fix_repr, fix_set_literal, fix_standarderror, fix_sys_exc, fix_throw, and fix_tuple_params). 2014-01-20 16:04:53 +01:00
Valentin Lorentz bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz 2fda69b4d6 Continue accelerating the 2to3 step (remove fix_raise). 2014-01-20 15:43:55 +01:00
Valentin Lorentz c1c23f66f4 Continue accelerating the 2to3 step (remove fix_print). 2014-01-20 15:31:09 +01:00
Benjamin Rubin 1093cfb01f log: Add support for Logging's 'extra' keyword argument 2014-01-05 17:15:00 -05:00
Valentin Lorentz 40675ffdfa Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	plugins/Admin/plugin.py
	plugins/BadWords/config.py
	plugins/Filter/plugin.py
	plugins/Google/plugin.py
	plugins/Math/plugin.py
	plugins/Misc/plugin.py
	plugins/Note/plugin.py
	plugins/RSS/plugin.py
	plugins/Seen/test.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	plugins/Status/plugin.py
	plugins/String/config.py
	plugins/String/plugin.py
	plugins/Time/plugin.py
	plugins/Todo/plugin.py
	plugins/Web/plugin.py
	plugins/__init__.py
	scripts/supybot-botchk
	setup.py
	src/__init__.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	src/drivers/Socket.py
	src/ircdb.py
	src/irclib.py
	src/ircutils.py
	src/questions.py
	src/registry.py
	src/schedule.py
	src/test.py
	src/utils/file.py
	src/utils/gen.py
	src/utils/net.py
	src/utils/web.py
	src/world.py
2013-08-24 11:28:29 +02:00
Valentin Lorentz f22f0bb4b6 Make log.firewall display the callback name in any case. 2013-07-11 10:07:11 +02:00
Valentin Lorentz ef08ea1930 Fix debug logging in some (weird) cases. 2013-02-07 18:34:29 +01:00
Valentin Lorentz d753df9d0c Print extra debug data in the logs. 2013-02-03 17:46:39 +01:00
James McCoy cef93a6cfd Use relative imports for all packages under the supybot namespace
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-17 22:12:11 -04:00
Valentin Lorentz b338c54592 src/log.py: Support for Python 3 logging module. 2012-08-04 15:04:43 +02:00
James Vega 26a458b9ec Merge branch 'maint/0.83.4' 2010-09-20 19:46:18 -04:00
James Vega 0fd6a84632 Use self.error() instead of raise for BooleanRequiredFalseOnWindows.
Closes: Sf#3070285
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 18:34:07 -04:00
Štěpán Němec a66034f852 Fix some typos/wordings.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:34:12 -04:00
Jeremy Fincher 526e71e104 Added test for firewall, fixed implementation so it actually works. 2009-03-11 13:37:25 -04:00
Jeremy Fincher 64d34792ca Added additional help for supybot.log.level. 2009-03-11 13:37:24 -04:00
James Vega 7bb3b1ec60 Merge the changes from the python25compat branch into the trunk 2009-03-11 13:37:24 -04:00
James Vega 6c13f55ab4 src/log.py: Seriously simplify the handling of different logging levels for log and log.stdout by setting the level on the different handlers ranther than the logging object itself. 2006-10-05 18:54:37 +00:00
James Vega 664f56a92f src/log.py: Collapse MultiLogger's methods into using __getattr__ to detect what's being called and return the proper function. 2006-10-05 18:06:12 +00:00
James Vega 2636a35b84 src/log.py: Support different logging levels for stdout and the logfile. 2006-10-05 13:35:45 +00:00
James Vega 514ddbc74f src/log.py: Fix a NameError in a Windows specific section of the code. 2006-05-05 02:13:41 +00:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Jeremy Fincher 6d45897278 Moved the disable method closer to its call site. 2006-01-12 19:17:09 +00:00
Jeremy Fincher 2394005cdd Moved utils.changeFunctionName to utils.python. 2005-05-15 17:17:26 +00:00
Jeremy Fincher 1d357dd470 Some more slight tweaks to the MetaFirewall implementation and stuff. 2005-05-15 17:08:02 +00:00
Jeremy Fincher 2861b5a334 Fixed some uselessness in log.MetaFirewall and removed an attribute that shouldn't be firewalled (it was vestigial). 2005-05-15 16:50:10 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega eab237da47 Rename misc.log to messages.log 2005-03-11 18:06:18 +00:00
James Vega 90c000793d utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace. 2005-02-15 13:57:57 +00:00
Jeremy Fincher c09a7cace1 Removed log.stat, it was dumb. 2005-02-15 06:49:51 +00:00
Jeremy Fincher 65f713df4b Removed log.verbose. I never liked it anyway. 2005-02-04 05:59:07 +00:00
Jeremy Fincher 304ad0868e Hacked out format into our logging calls. 2005-02-01 08:31:31 +00:00
James Vega 28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher 5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher 5019d10a1b Updated license years. 2005-01-19 13:33:05 +00:00
Jeremy Fincher 8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00
James Vega dbfec8afb9 Add supybot module 2007-04-22 20:10:26 +00:00
Jeremy Fincher 5c97b25fe2 Better error message. 2004-12-22 09:05:38 +00:00
Jeremy Fincher e7b8d8bcbc Change the default of supybot.log.timestampFormat to iso8601 (thanks, Grantbow, I used your forum post for this). 2004-12-16 13:55:54 +00:00
James Vega cbd5abbab7 A bunch more %r -> %s conversions as well as wrap updates, new policy for
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
Jeremy Fincher ffd4957862 Fixed bug #1052821. 2004-10-24 06:45:36 +00:00
Jeremy Fincher 835ee14640 That last commit wouldn't be much fun without this one. 2004-10-03 09:40:19 +00:00
Jeremy Fincher 04e5ff9b7a Elucidating comment, as well as filtering of misc.log when plugins are using their individual logfiles. 2004-09-29 18:51:37 +00:00
Jeremy Fincher bea33e53d6 Fixed an exception on exit. 2004-09-29 14:50:14 +00:00
Jeremy Fincher a382087fc4 Fix0red the problems with VERBOSE. 2004-09-29 04:07:29 +00:00
Jeremy Fincher 201df375e2 Added verbose logging level. 2004-09-28 08:11:38 +00:00
Jeremy Fincher 217799ad1c Updated to make the formatting strings variable. 2004-09-22 22:27:03 +00:00
James Vega 50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00