aboutsummaryrefslogtreecommitdiff
path: root/src/Logging.py
Commit message (Expand)AuthorAgeFilesLines
* split utils.datetime out in to .parse and .formatGravatar jesopo2020-01-301-1/+1
* use a TimeSpec system to request milliseconds in utils.datetimeGravatar jesopo2020-01-201-1/+2
* move all datetime-related code from utils/__init__ to utils.datetimeGravatar jesopo2019-11-151-1/+1
* set info log rolling backup count to 1 (0 means "keep all backups")Gravatar jesopo2019-11-141-1/+1
* Fix type errors detected by 'mypy --ignore-missing-imports src'.Gravatar Valentin Lorentz2019-10-301-0/+2
* hook_handler should be catching TRACE loggingGravatar jesopo2019-10-171-1/+1
* 'test_handler' -> 'hook_handler'Gravatar jesopo2019-10-111-4/+4
* add first real cli functionality: showing logGravatar jesopo2019-10-111-0/+21
* `-V` command line arg should still effect stdoutGravatar jesopo2019-10-091-1/+1
* stdout output should just be WARN - put INFO in to a daily file•••this is because stdout, in something like systemd, will mess up journalctl output. Gravatar jesopo2019-10-091-1/+8
* Logging.BitBotFormatter no longer uses the format it's given (always iso8601)Gravatar jesopo2019-08-301-3/+1
* Logging._log()'s `params` arg should be typing.Optiona[]Gravatar jesopo2019-06-071-1/+2
* Make `params` arg for logging functions optionalGravatar jesopo2019-06-061-7/+7
* change utils.iso8601_format to default to no milliseconds, switch to using•••utils.iso8601 functions in badges.py Gravatar jesopo2019-04-231-1/+1
* Add -N to start.py to disable to-file loggingGravatar jesopo2019-03-041-10/+13
* Put a helper function in utils to do iso8601 formatting. change IRCServer's•••last-read setting to use it. Gravatar jesopo2019-02-171-12/+4
* Fix incorrect indentation level in Logging.pyGravatar jesopo2019-01-181-1/+1
* Pushing logging on to another thread was a ridiculous idea. it means CRITICAL•••logs are in a race condition to write to file before the main thread exits. Gravatar jesopo2019-01-161-16/+2
* Preserve logged exc_info across threadsGravatar jesopo2018-12-121-0/+4
* Add type hint for Logging._queueGravatar jesopo2018-12-101-1/+1
* Put logging functionality on to it's own threadGravatar jesopo2018-12-101-2/+12
* 'bot.log' -> 'trace.log' and add a 'warn.log' log file that only catches•••warn-and-worse Gravatar jesopo2018-11-261-5/+10
* Move setting BitBotFormatter's converter (to time.gmtime) to class definition as•••it's not technically correct to overwrite a funcion on an existing object Gravatar jesopo2018-10-301-1/+1
* Add type/return hints throughout src/ and, in doing so, fix some cyclical•••references. Gravatar jesopo2018-10-301-9/+9
* Change trace logging level from `5` to `logging.DEBUG-1`Gravatar jesopo2018-10-011-1/+1
* Add 'trace' logging level for src/Database.py and src/EventManager.py very•••verbose debugging Gravatar jesopo2018-10-011-4/+21
* Don't give IRCBot instance to things that don't need it, use a better way of•••doing default locations for config/database/log Gravatar jesopo2018-09-271-2/+2
* Move most code in root directory to src/Gravatar jesopo2018-09-241-0/+48