3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 11:39:25 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
James Lu
affe54b47f log: configurable file rotation (size & backup count) 2016-08-17 22:01:00 -07:00
James Lu
3b93a521d6 log: import 'conf' in a way that works with REHASH 2016-08-17 22:00:34 -07:00
James Lu
126a07bdf6 core: rehashable file loggers with log rotation support
Closes #176. Closes #315.
2016-08-17 21:42:18 -07:00
James Lu
04de033454 log: remove references to script directory
This is wrong when log.py is present in ~/.local/lib/... or /usr/lib/...
2016-06-20 18:23:05 -07:00
James Lu
481d70eff8 New import paths for properly installed pylinkirc 2016-06-20 18:18:54 -07:00
James Lu
1c4cfa680c log: fix check for irc.pseudoclient 2016-05-14 13:52:21 -07:00
James Lu
a069ce8cb4 Unbrick loglevel changing (Closes #208) 2016-04-23 11:06:08 -07:00
James Lu
a4395ed989 log: respect child loggers' levels if they are lower than the main one's
Closes #185.
2016-03-25 15:45:26 -07:00
James Lu
abce18a5ba log: split multi-line channel logs into multiple PRIVMSGs
Closes #175.
2016-03-16 15:38:07 -07:00
James Lu
eec8e0dca4 log: attempt to remedy #164 (more testing needed) 2016-02-20 19:28:45 -08:00
James Lu
0d4655c381 core: support multiple channel loggers with DIFFERENT log levels & fix example conf (#83) 2016-01-30 23:35:51 -08:00
James Lu
08fd50d3d8 Logging improvements, including support for custom file targets (#83)
Also, the config option for setting STDOUT log level is moved from bot:loglevel to logging:stdout.
2016-01-24 18:31:16 -08:00
James Lu
de84a5b437 log: default level should be INFO, not DEBUG 2016-01-24 17:07:31 -08:00
James Lu
14efb27fe8 Initial experimental support for logging to channels (#83)
Doesn't support rehashing and all that yet.
2016-01-23 13:52:37 -08:00
James Lu
e4fb64aeba Document more parts of the core - comments are cool right 2015-12-06 17:40:13 -08:00
James Lu
f786242730 Support loading different config files from the command line
Closes #84. Logs, PID files, and relay DBs will name themselves differently for every instance, to prevent conflicts. The default is always config.yml.
2015-08-03 19:27:19 -07:00
James Lu
fbc2fbf595 log: replace existing log files instead of appending 2015-07-19 16:52:58 -07:00
James Lu
61804b1ecd log: also log to $curdir/log/pylink.log
Closes #52.
2015-07-18 20:11:29 -07:00
James Lu
cfc840ebb3 Actually implement 'nick', 'ident', and 'loglevel' config options 2015-07-07 12:14:55 -07:00
James Lu
f06bcc7928 Merge commit 'bd755e137ffa034007a77d75fbd00d21e759163e' into wip/logger-module
Conflicts:
	proto.py
2015-07-05 13:22:17 -07:00