In the past I had an Appwrite log handler class that worked fine:
def __init__(self, context):
super().__init__()
self.context = context
def emit(self, record):
msg = self.format(record)
if not self.context:
return
if record.levelno == logging.ERROR:
self.context.error(msg)
else:
self.context.log(msg)
logging.getLogger().addHandler(AppwriteLogger(context))
But recently I only get logs for ERROR level and the INFO level fails with "Unsupported logs detected. Use context.log() or context.error() for logging."
logging.error(msg) still works, but logging.info(msg) fails.
Using context.log() still works but I want to have multiple logging actions triggered by one log statement.
Any idea what is causing this?
Recommended threads
- Dev Keys not working
looks like dev key are broken they simply don't work i suggest remove them until you have them working otherwise they confuse devs took me few minutes trying ...
- Stuck migrating from supabase
Hello, I'm getting a 500 (Internal Server Error) when migrating from Supabase using the cloud console migration tool. Validation says error: "Couldn’t load reso...
- Custom Domain TLS Error (perfinso.com)
Hey Appwrite team/community, I need urgent help with a custom domain setup! I've added perfinso.com to my project, pointed the nameservers, and verification is...