Back

Provider "logOwl" not supported - Could not resolve host: executor with status code 0

  • 0
  • Functions
Lucas Reis
2 Sep, 2023, 17:03

If you set logOwl as your log driver in

_APP_LOGGING_PROVIDER=logOwl

although docker exec appwrite doctor says it's alright, the openruntimes-executor container will throw the error below whenever you try to deploy a function

TypeScript
Fatal error: Uncaught Exception: Provider "logOwl" not supported. in /usr/local/app/http.php:68
Stack trace:
#0 /usr/local/vendor/utopia-php/registry/src/Registry/Registry.php(75): {closure}()
#1 /usr/local/app/http.php(131): Utopia\Registry\Registry->get('logger')
#2 /usr/local/vendor/utopia-php/framework/src/Transaction.php(36): {closure}(Object(Utopia\Registry\Registry))
#3 /usr/local/app/http.php(1320): Utopia\Transaction->getResource('logger')
#4 [internal function]: {closure}(Object(Swoole\Http\Request), Object(Swoole\Http\Response))
#5 {main}
  thrown in /usr/local/app/http.php on line 68
[2023-09-02 17:00:50 @1.0]      WARNING Channel::~Channel() (ERRNO 10003): channel is destroyed, 1 consumers will be discarded

Disabling the logOwl driver seems to solve the problem for now.

TL;DR
The user is getting an error message "Provider 'logOwl' not supported" when trying to deploy a function. The solution is to set the logging provider to lowercase, like this: `_APP_LOGGING_PROVIDER=logowl`. Disabling the logOwl driver temporarily solves the problem.
Binyamin
3 Sep, 2023, 17:04

It seems like that openruntimes-executor want the value to be lowercase

Try again but with lowercase

TypeScript
_APP_LOGGING_PROVIDER=logowl
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more