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
- Method EQUAL not wrking in REST API Quer...
Request: ``` postman request 'https://nyc.cloud.appwrite.io/v1/tablesdb/{databaseId}/tables/{tableId}/rows?queries[]={%22method%22%3A%22select%22%2C%22values%2...
- OIDC not working on Appwrite cloud
tl;dr: same project settings, same OIDC credentials. Auth works on self hosted but not in cloud. I have a project in my self hosted instance with a single web ...
- Is it possible to deploy pre-built Nuxt ...
Hi, is it possible to only deploy the ./.output folder of a Nuxt App that uses server side routes to Appwrite Sites? Background is that the build produced ...