Commit graph

21 commits

Author SHA1 Message Date
Griatch
5133034b4b Working start/reload/reset/stop from launcher 2018-01-14 22:53:36 +01:00
Tehom
c689b4d028 Attempt to handle any errors in logging. 2017-12-19 00:28:48 -05:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
6370c377d5 Add cache optimization to variable imports in logger. 2017-05-21 19:24:54 +02:00
Tehom
2bea778181 Move settings to be local imports to prevent conflicts before django is fully loaded 2017-05-21 06:59:54 -04:00
Tehom
4605b3128e Add docstr to class and methods, adjust names of settings to be more clearly modifying channel logs. 2017-05-21 03:29:33 -04:00
Tehom
6e2c10b008 Remove print statements I had left in during debugging. Oops. 2017-05-20 22:18:26 -04:00
Tehom
f150d8bae5 Add Evennia logfile class based on Twisted LogFile for automatic rotating channel logs. Append tail end of logs when rotating, customizable with settings. 2017-05-20 21:33:57 -04:00
BlauFeuer
4d8c5964a4 PEP 8 comply, docstring typo 2017-03-19 20:24:51 +01:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
fd50eaddba Fixed an error in channel.msg. Made sure to return a deferred from tail_log_file as its documentation suggests it should. 2016-05-22 20:45:42 +02:00
Griatch
4a58fcb9f1 Made the tail-viewing of a log-file threaded for maximum asynchronicity. 2016-05-22 20:45:42 +02:00
Griatch
5583a8d758 Made channels log to a log file by default. Added a default /history switch to the channel commands (for viewing past entries) and implemented a very efficient tail_log_file function to scan the log and display it. 2016-05-22 20:45:42 +02:00
Griatch
652bb02bc7 In the wake of changes to hide away tracebacks from players, made the error report include the server log time stamp so as to make it easier to reconcile with the real traceback information. 2015-11-09 15:07:06 +01:00
Ahmed Charles
f890c8bddb Update logger docs. 2015-10-19 23:31:19 +02:00
Ahmed Charles
0384fcc63d Move to python3 style except. 2015-10-19 23:31:19 +02:00
Griatch
eb2bd8d44c Converted a large part of utils/ folder to google code docstrings as per #709. 2015-09-27 20:24:03 +02:00
Griatch
3ebc55da82 Changed datetime setter to use utils.timezone instead of naive datetime stamps, as per #728. 2015-03-27 07:05:13 +01:00
Griatch
bb363798de Fixed pathhandling in custom logger routine. 2015-01-11 18:00:46 +01:00
Griatch
8d473b7663 Added an empty server.log file in order to be able to put the server/logs directory in git. Some more bugfixes. 2015-01-10 20:09:18 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Renamed from lib/utils/logger.py (Browse further)