Valentin Lorentz
d753df9d0c
Print extra debug data in the logs.
2013-02-03 17:46:39 +01: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
Jeremy Fincher
a11654dcdd
Changed to use a super.
2004-09-16 10:54:59 +00:00
Jeremy Fincher
dee61a32f1
Let's use os.linesep instead.
2004-09-08 22:48:53 +00:00
Jeremy Fincher
0a2d7146a4
Use conf.Directory for the log directory.
2004-09-06 08:19:42 +00:00
Jeremy Fincher
74763d4dec
Added exception revision logging.
2004-08-30 20:06:05 +00:00
Jeremy Fincher
bd306febf0
Only firewall if we're not testing.
2004-08-26 05:23:24 +00:00
Jeremy Fincher
9f1dd19ff7
oops, forgot to return.
2004-08-25 04:08:42 +00:00
Jeremy Fincher
24e09136b6
Allow numeric levels as well, so statistcs can be -1 if necessary.
2004-08-25 04:06:07 +00:00
Jeremy Fincher
4c30b3f644
Change the default for individualPluginLogfiles.
2004-08-23 22:48:17 +00:00
Jeremy Fincher
fbb348b6e7
Copyright updates. Again, more is left to be done, but this is my part.
2004-08-23 13:14:06 +00:00
Jeremy Fincher
2259e9d8b6
Added log.stat, supybot.log.statistics, and changed some statistic-keeping functions over to use log.stat.
2004-08-10 07:39:23 +00:00
Jeremy Fincher
b7bd3d414e
Fixed weird formatting of colorized stdout stuff.
2004-08-08 17:59:49 +00:00