Comments (8)
EnableScriptLogging gets logs in a header named 'x-ms-documentdb-script-log-results', which can be access through CosmosItemResponse.Headers.
@kentcb are you not seeing 'x-ms-documentdb-script-log-results' header in the response?
from azure-cosmos-dotnet-v3.
Ah, yes I do. Sorry, I missed that somehow. That said, it comes through as encoded (e.g. a space comes through as %20
) which is probably fine and expected given that it's a header. However, being in a header also means that it comes through as lower case, which means that important information may be lost (e.g. generated IDs will lose casing).
from azure-cosmos-dotnet-v3.
It also loses line breaks between distinct console.log
calls, which is a bit annoying.
from azure-cosmos-dotnet-v3.
@kentcb thanks for the feedback.
Some parts of the feedback (encoding etc..) can be handled by client abstraction but it doesn't cover the lower-casing part, this needs to be addressed by service.
@kentcb can you please share this feedback over askcosmosdb[AtT]microsoft.com?
from azure-cosmos-dotnet-v3.
@mkolt thoughts on lower case issues in script logs?
from azure-cosmos-dotnet-v3.
from azure-cosmos-dotnet-v3.
@mkolt - we need to triage this still. Since this is a backend limitation, my thought is that we should move this off the SDK repo. Did you make any progress on this?
from azure-cosmos-dotnet-v3.
The line breaks etc should be fixed a while ago. We URL-encode the value.
from azure-cosmos-dotnet-v3.
Related Issues (20)
- Session-level consistency across multiple SDK clients/across different processes HOT 2
- Add New Zealand North region in Public Contract
- CosmosClientOptions.Request is not respected. HOT 5
- TelemetrySpan is not failures are not reflected in-case of non-exceptions
- Benchmark using not releasing
- invalid syntax for GetDatabase - closing paren is shown as closing square bracket HOT 1
- ReadManyItemsAsync -> ReadManyTaskHelperAsync wraps forked IO task into Task.Run
- AggregateException (instead of CosmosException) being thrown on GetFeedRanges when Gateway fails HOT 11
- Add client option to use the System.Text.Json Serializer instead of Newtonsoft ... HOT 2
- DiagnosticSourceName seems to be "Azure.Cosmos" not "Azure.Cosmos.Operation" in stable version SDK HOT 5
- Default JasonDotNet serializer maxdepth HOT 1
- Inquiry on Implementing Custom Retry Logic with CosmosClient HOT 1
- Blazor WebAssembly Hangs When Initializing CosmosClient Due to Task.Run in SystemUsageMonitor
- Operation 'POST' on resource 'dbs' is not allowed through Azure Cosmos DB endpoint. Please switch on such operations for your account, or perform this operation through Azure Resource Manager, Azure Portal, Azure CLI or Azure Powershell HOT 6
- Distributed Tracing/Open Telemetry: Feature requests HOT 1
- [Thin Client] Prepare Design Document for V3 SDK Integration
- Accessing or Creating database in a docker CosmosDb Emulator with the SDK hangs, no exception HOT 3
- MissingManifestResourceException in Microsoft.Azure.Cosmos.Encryption
- Query on one partition returns data from other partitions on multi-partition container
- [Per Partition Automatic Failover] Failover Partition on Next region when RG Fails with `HttpRequestException`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cosmos-dotnet-v3.