Skip to content

Conversation

@BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Jul 16, 2021

Copied from https://github.com/aspnet/SignalR-Client-Cpp/blob/main/src/signalrclient/logger.cpp

Fixes #29161

Example logs:

[2021-07-28T19:23:44.076Z, PID: 11020] [aspnetcorev2.dll] Initializing logs for 'C:\<path>\aspnetcorev2.dll'. Process Id: 11020. File Version: 16.0.21209.0. Description: IIS ASP.NET Core Module V2. Commit: 96475a2acdf50d7599ba8e96583fa73efbe27912.
[2021-07-28T19:23:44.079Z, PID: 11020] [aspnetcorev2.dll] Resolving hostfxr parameters for application: '.\InProcessWebSite.exe' arguments: '' path: 'C:\Temp\e86ac4e9ced24bb6bacf1a9415e70753\'
[2021-07-28T19:23:44.080Z, PID: 11020] [aspnetcorev2.dll] Known dotnet.exe location: ''

Copy link
Contributor

@jkotalik jkotalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@BrennanConroy
Copy link
Member Author

Haha, maybe I should ping you about this Justin, I'm a bit confused about all the different logs 😄

@jkotalik
Copy link
Contributor

Yeah put some time on my calendar 😎

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.",
Copy link
Member Author

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.."

@BrennanConroy BrennanConroy marked this pull request as ready for review July 29, 2021 20:05
Copy link
Contributor

@shirhatti shirhatti left a 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++ 😅

@BrennanConroy BrennanConroy merged commit 63a4353 into main Jul 30, 2021
@BrennanConroy BrennanConroy deleted the brecon/ancmtime branch July 30, 2021 22:02
@ghost ghost added this to the 6.0-rc1 milestone Jul 30, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-iis Includes: IIS, ANCM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ANCM debug log should include PIDs and timestamps

8 participants