Home > OS >  Could you tell me Nginx log in Chinese how to solve the problem
Could you tell me Nginx log in Chinese how to solve the problem

Time:10-31

Using the NGX. Log (NGX INFO, "Chinese") logging
Find the log file for the code in Chinese, not Chinese hexadecimal string, is Chinese garbled
This why? Pray god to help

CodePudding user response:

There will be Chinese log again after the original file is modified to UTF8 type compile nginx, use UTF8 format, nginx log is also open
Of course, also can try GB2312, rules are consistent
  • Related