-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add timestamp to ANCM logs #34437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timestamp to ANCM logs #34437
Conversation
jkotalik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
Haha, maybe I should ping you about this Justin, I'm a bit confused about all the different logs 😄 |
|
Yeah put some time on my calendar 😎 |
4046cee to
752d658
Compare
src/Servers/IIS/AspNetCoreModuleV2/CommonLib/RedirectionOutput.cpp
Outdated
Show resolved
Hide resolved
| PrintDebugHeader() | ||
| { | ||
| // Major, minor are stored in dwFileVersionMS field and patch, build in dwFileVersionLS field as pair of 32 bit numbers | ||
| LOG_INFOF(L"Initializing logs for '%ls'. %ls. %ls.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the . because GetProcessIdString() already returns the . and my log OCD wasn't happy with "Process ID: 1029.."
shirhatti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm only approving the sample output and not attempting to review C++ 😅
Copied from https://github.com/aspnet/SignalR-Client-Cpp/blob/main/src/signalrclient/logger.cpp
Fixes #29161
Example logs: