Limnoria/plugins/ChannelLogger
Richard Esplin ba0ba71bf4 Eliminate unnecessary closing of the log file.
Name returns a string that is the log file name: the channel plus the timestamp.
But on my system log.name returns the fully qualified path to the currently open file. This is because log is a file handle, so if you declare it with a path, it will be included in the name.
On systems were logging is not in the current directory, the two will never match, and the file is closed and then reopened.
Only taking the basename solves this problem.
2014-01-15 16:15:11 -07:00
..
locales Alias & ChannelLogger & MessageParser & MoobotFactoids & User & Web: Update l10n-fr. 2013-03-02 19:15:12 +01:00
__init__.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
config.py Merge remote-tracking branch 'supybot/master' into testing 2013-01-01 21:11:24 +01:00
messages.pot ChannelLogger: update messages.pot 2012-10-07 18:37:47 +03:00
plugin.py Eliminate unnecessary closing of the log file. 2014-01-15 16:15:11 -07:00
README.txt ChannelLogger: improved readme 2012-09-04 22:38:18 -04:00
test.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00

This plugin automatically logs the channels where the bot is.