Valentin Lorentz
|
dff394df64
|
log: Add support for rotating messages.log.
|
2021-10-14 23:52:16 +02:00 |
|
Valentin Lorentz
|
666acd9f1f
|
log: Simplify encoding in BetterFileHandler.
I don't think any these cases are useful anymore.
Let's keep the last one anyway, just in case I'm wrong.
|
2021-10-14 23:47:32 +02:00 |
|
Valentin Lorentz
|
db7ef3f025
|
all: Add generic 'The Limnoria Contributors' to copyright notices.
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
|
2021-08-01 21:54:49 +02:00 |
|
Valentin Lorentz
|
5baf87ddba
|
ircutils: Improve robustness when faced with invalid hostmasks
eg. @ in nicks, which happened on pissnet earlier today.
|
2021-07-14 23:25:11 +02:00 |
|
Valentin Lorentz
|
b051537f7f
|
Add support for Python 3.8/nightly.
|
2019-01-06 18:08:15 +01:00 |
|
James Lu
|
dbbd7b4c4e
|
log: fix a typo (normal->normally)
|
2017-12-12 20:54:34 -05:00 |
|
Valentin Lorentz
|
59ed253a0e
|
supybot-wizard: do not pollute the CWD before paths to directories are known.
|
2017-06-04 15:59:06 +02:00 |
|
Valentin Lorentz
|
92ed5d484d
|
Open log files with UTF-8 encoding.
It seems to work better that way, at least on Python 3.
|
2016-03-24 22:04:35 +01:00 |
|
Valentin Lorentz
|
b64926814b
|
Add another fallback to log emitting in case of unicode-related error.
|
2016-03-20 12:56:33 +01:00 |
|
Valentin Lorentz
|
a538920df7
|
Catch more unicode-related exceptions when trying to write logs to a file.
|
2016-02-09 18:40:00 +01:00 |
|
Valentin Lorentz
|
912d2e1538
|
core: Apply some suggestions of pyflakes.
|
2015-08-31 18:19:22 +02:00 |
|
Valentin Lorentz
|
c3a2c800f1
|
Remove need for 2to3.
|
2015-08-11 16:50:23 +02:00 |
|
Valentin Lorentz
|
f305ff3c02
|
Remove fix_basestring.
|
2015-08-10 20:24:11 +02:00 |
|
Valentin Lorentz
|
be118c3338
|
Remove use of fix_dict fixer.
|
2015-08-08 23:08:49 +02:00 |
|
nyuszika7h
|
dd3752df17
|
Disable log.stdout.wrap by default
It causes more issues than it solves. The output might break if you
resize the terminal and it can make logs harder to read.
|
2014-09-13 13:23:50 +02:00 |
|
Valentin Lorentz
|
a138722d73
|
src/log.py: Display warning instead of raising exception if there is no space left on defice (infinite loop…).
|
2014-06-09 16:41:58 +00:00 |
|
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 |
|