Share your repls and programming experiences

← Back to all posts
dblogger - Python logging to the Replit Database
h
jachands

Logging is important, especially for Always On repls where you can't always monitor the console output. That's why I started using the Replit Database to save my logs.

After copying the dblogger.py to your project, logging is easy! Here's an example:

Want to view your logs? Open python in Shell and run:

Logging Methods

Hope it helps! Happy logging :)

Voters
arredocana
DynamicSquid
jachands
Comments
hotnewtop
DynamicSquid

Nice!