You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
[opencensus-ext-azure] logger.info() and logger.debug() not being sent to App Insights #871
Python 3.7.7 on macOS 10.15.3
opencensus-context==0.1.1
opencensus-ext-azure==1.0.2
logger.info(...) and logger.debug(...) do not get sent to Azure Application Insights.
Am i doing it wrong or is this a known issue?
logger.warning(...) for example produces the expected events in Application Insights.
To reproduce:
fromopencensus.ext.azure.log_exporterimportAzureLogHandlerlogger=logging.getLogger(__name__)
logger.addHandler(AzureLogHandler(
connection_string="InstrumentationKey=X-X-X-X")
)
logger.info("this is info")
logger.warning("this is a warning")
logger.debug("this is debug")
logger.error("this is an error")
changed the title [-]logger.info() and logger.debug() not being sent to Application Insights[/-][+][opencensus-ext-azure] logger.info() and logger.debug() not being sent to App Insights[/+]on Mar 20, 2020
Activity
[-]logger.info() and logger.debug() not being sent to Application Insights[/-][+][opencensus-ext-azure] logger.info() and logger.debug() not being sent to App Insights[/+]lzchen commentedon Mar 20, 2020
See #866.
snobu commentedon Mar 20, 2020
Thank you for that. Should i send a PR adding this little fact to the README? I'm not sure the root logger story is well known out there.
lzchen commentedon Mar 20, 2020
@snobu Yes that would be great!