Implements https://github.com/Arborym/Pax-Academia/issues/211. The command simply allows the user to read the last N lines of log.txt. This allows developers to more easily debug issues on production!
I also made 3 other (small) changes:
rename dump_database to view-database so that the naming scheme is consistent
resolve type errors in util/Logging.py - currently it's chock full of them & I hate red underlines! (note: I did NOT make any functional changes here!)
Implements https://github.com/Arborym/Pax-Academia/issues/211. The command simply allows the user to read the last N lines of
log.txt
. This allows developers to more easily debug issues on production!I also made 3 other (small) changes:
dump_database
toview-database
so that the naming scheme is consistentALLOW_DUMP_DATABASE_ROLE
->ALLOW_VIEW_DATABASE_ROLE_NAME
ALLOW_DUMP_DATABASE_GUILD
->ALLOW_VIEW_DATABASE_GUILD_ID
util/Logging.py
- currently it's chock full of them & I hate red underlines! (note: I did NOT make any functional changes here!)preview:
https://github.com/Arborym/Pax-Academia/assets/44247924/864bc64b-9185-4b89-b022-0ddf8ab8f8ff