zhanbei / static-server

A static server in Go, supporting hosting static files in the no-trailing-slash version.
0 stars 0 forks source link

The differences between the app logs and the Nginx logs. #8

Open zhanbei opened 4 years ago

zhanbei commented 4 years ago

Are there any differences between the app logs and the Nginx logs, are they reasonable, and how to make use of them?

There are reasonable differences, like:

while there are potential differences if being wrongly configured, like:

Being said, the HTTP Request ID should be better enabled and recorded, to compare the two sets of logs row by row.

Submit Often, and Enrich Later

zhanbei commented 4 years ago

With nearly one hour to compose and one hour to recover??? Is it reasonable?

  • Being efficient and productive as the goal, be cautious about the reinvention of articles.
  • Spend time read, summarize the conventions upon the immediate thoughts, and practice.
zhanbei commented 4 years ago

With great pains comes with great counterattacks.

The value here is to find the right patterns, which comforts the normal workflows.