Closed bytenik closed 10 years ago
Wowsers! I've never seen anyhing like that?! :-S
Do you mean logged GUIDs in properties? Here's one straight out of my own 1.5 install:
Since the conversion to a string happens on the Serilog side it's possible there's some change in the JSON formatting there (as you'd have noticed, the Seq client for Serilog moved to Serilogs.Sinks.Seq. I'll investigate that angle now.
Just ran my test bench with:
Log.Information("{Uuid}", Guid.NewGuid());
Came through fine, just like the example above. (Latest Seq and Serilog.)
Any other clues?
@bytenik any other clues? The only mention I can find anywhere of this format is in relation to MongoDB - I don't suppose you have a Mongo-specific GUID representation being serialized through the logger?
Oy, it appears that may be what is happening. The type appears to have an implicit Guid conversion which is why I never picked up on the fact that its a different type!
Sorry for wasting your time.
Not a problem, thanks for the report and follow-up. Each oddity like this adds another recipe to the problem-solving cookbook :)
Ever since upgrading to 1.5, all my GUIDs show in a format similar to:
UuidLegacy:0x00af9c77e8d62443589833c698a7d108
Can this be put back (or changed via a setting) into registry format, like Seq used to show?