# 82004: Function execution resulted in a warning log

Log Type: APPLICATION

Log Level: WARNING

## Description

This warning appears when your Function logs a warning-level message during execution, such as with `console.warn()`. Warning and error logs are available through Serverless logs and also appear in Debugger.

### Possible causes

* Your Function code calls `console.warn()` during execution.
* A request or event reaches a code path in your Function that writes a warning message.

### Possible solutions

* Review the warning message shown with the execution to identify which part of your Function logged the warning.
* Enable live logs in the Console while you test your Function so you can see `console` output in real time.
* Retrieve the warning from Serverless logs by using the Logs resource or the CLI. You can list logs with `twilio api:serverless:v1:services:environments:logs:list` or tail logs with `twilio serverless:logs --tail`.

#### Additional resources

* [Debug your Function(s)](/docs/serverless/functions-assets/functions/debugging)
* [Logs](/docs/serverless/api/resource/logs)
* [Function Execution](/docs/serverless/functions-assets/functions/invocation)
