Hi,
5.10 Adapter
For tracing of SQL Server DQE,e.g
Trace.Listeners.Add(new TextWriterTraceListener(File.CreateText("tracelog.txt"))
{
TraceOutputOptions = TraceOptions.Timestamp | TraceOptions.DateTime, // doesn't work for LLBLgen tracing, perhaps they use WriteLine :-O
});
Trace.AutoFlush = true;
It doesn't seem like the options for adding timestamps and the DateTime are observed
ServerObjects.Data.Tests Error: 0 : test
DateTime=2024-09-07T13:53:09.0035471Z
Timestamp=2184878884113
Method Enter: CreatePagingSelectDQ
Method Enter: CreateSelectDQ
Method Exit: CreateSelectDQ
Method Exit: CreatePagingSelectDQ: no paging.
SqlServer ready query:
Query:
DECLARE @p1 Int
SET @p1=50
DECLARE @p2 Bit
SET @p2=1
SELECT
The only line that has the timestamp and datetime is the test I did with Trace.TraceError("test");
Is there a way we can get the datetime with the DQE traces? It would be helpful to diagnose which part of a large prefetch is slow.
Thanks.