Skip to content

esp_log_level_set not enabling library error output #7026

@lonerzzz

Description

@lonerzzz

Board

Custom prototype board

Device Description

ESP-WROOM-32

Hardware Configuration

Not relevant to issue

Version

v2.0.4

IDE Name

Arduino 1.8.19

Operating System

WIndows 10

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

I am encountering I2C issues after upgrading and I wish to enable debugging of the hal I2C library to get more detail. I enabled the log and attempted to print via the following, but get no error output from the hal i2c library or via the initial logging attempt. No errors are raised in setting the log output command so I would expect output to be generated.

` esp_log_level_set("*", ESP_LOG_ERROR);

log_e("Hello");
`

I can print to the serial port via Serial.print commands. Not sure what else is required. I am not sure whether the issue is insufficient documentation or a bug. I have even tried setting a define prior to the esp_log.h include with no luck.

#define LOG_LOCAL_LEVEL ESP_LOG_VERBOSE

Sketch

I will do so if needed.

Debug Message

No debug output is being generated. That is the issue.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions