Description
Query/Question
We are seeing error logs in production when using the resourcemanager sdk (compute client sdk) that is hard to trace back to what we are doing. It does not seem to affect our code so the sdk must do some retry or something to get this working? The error seem to indicate that some endpoint(?) returns unexpected html (white lable error?).
The log row in question with labels from grafana (our own labels redacted)
level
ERROR
logger
com.azure.core.implementation.MethodHandleReflectiveInvoker
message
Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') at [Source: (byte[])"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body {font-family:Arial; margin-left:40px; }img { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p { font-size: 13p"[truncated 488 bytes]; line: 1, column: 2]
stacktrace
thread
reactor-http-epoll-1
So the question is if this is expected and if so are there any documentation on what different log levels mean?
Why is this not a Bug or a feature Request?
It's not a bug because it's about log levels and I don't think "too noisy" is a bug.
Setup (please complete the following information if applicable):
- Library/Libraries:
+--- com.azure.resourcemanager:azure-resourcemanager-compute:2.38.0
| +--- com.azure.resourcemanager:azure-resourcemanager-resources:2.38.0
| | +--- com.azure:azure-core:1.48.0 -> 1.49.0 (*)
| | \--- com.azure:azure-core-management:1.13.0 (*)
| +--- com.azure.resourcemanager:azure-resourcemanager-storage:2.38.0
| | +--- com.azure.resourcemanager:azure-resourcemanager-resources:2.38.0 (*)
| | +--- com.azure.resourcemanager:azure-resourcemanager-msi:2.38.0
| | | +--- com.azure.resourcemanager:azure-resourcemanager-resources:2.38.0 (*)
| | | \--- com.azure.resourcemanager:azure-resourcemanager-authorization:2.38.0
| | | \--- com.azure.resourcemanager:azure-resourcemanager-resources:2.38.0 (*)
| | \--- com.azure.resourcemanager:azure-resourcemanager-authorization:2.38.0 (*)
| +--- com.azure.resourcemanager:azure-resourcemanager-network:2.38.0
| | \--- com.azure.resourcemanager:azure-resourcemanager-resources:2.38.0 (*)
| +--- com.azure.resourcemanager:azure-resourcemanager-msi:2.38.0 (*)
| \--- com.azure.resourcemanager:azure-resourcemanager-authorization:2.38.0 (*)
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Query Added
- Setup information Added