Skip to content

Log file dates and times are in different formats (C# vs nlog defaults) #323

@sei-dupdyke

Description

@sei-dupdyke

app.log is written by the nlog library directly, which is configured as:

layout="${Date:universalTime=true}|${level}|${callsite}|${message}".

clientupdates.log is written by the application directly as:

_timelineLog.Info($"TIMELINE|{DateTime.UtcNow}|{o}");,

and so I guess nlog and C# handle dates differently by default.

Originally posted by @sei-dupdyke in #239 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions