RuntimeTools / SwiftMetrics

Swift Application Metrics instruments the Swift runtime for performance monitoring, providing the monitoring data programatically via an API or visually with an Eclipse Client.
https://developer.ibm.com/swift/monitoring-diagnostics/application-metrics-for-swift/
Other
154 stars 49 forks source link

Logs date format #213

Closed krzyzanowskim closed 3 years ago

krzyzanowskim commented 5 years ago

When I run Kitura project, I see that only metrics diagnostics use a different format than the rest of the app. It looks to me that Kitura format (iso8601) is a good choice there.

[2019-04-02T10:19:42.969Z] [WARNING] [ConfigurationManager.swift:389 load(url:deserializerNa
[Tue Apr  2 10:19:42 2019] com.ibm.diagnostics.healthcenter.loader INFO: Swift Application M
[2019-04-02T10:19:43.159Z] [INFO] [Metrics.swift:20 initializeMetrics(router:)] Initialized 
[2019-04-02T10:19:43.164Z] [INFO] [Application.swift:28 run()] http://localhost:8080/
[2019-04-02T10:19:43.166Z] [INFO] [HTTPServer.swift:195 listen(on:)] Listening on port 8080

https://swift-at-ibm.slack.com/archives/C29BLC4KB/p1554201958004100