平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
865 B

  1. {
  2. //秘钥配置
  3. "Cryptogram": {
  4. //SM2国密配置
  5. "SM2": {
  6. "PublicKey": "04BD62406DF6789B1FBE8C457AECAE6D7C806CDB39316F190519905C24DF395E8952C47798D76ADECF8CA28C935702AFCDD9B17DE77121FA6448F0EDEFBD8365D6", //公钥
  7. "PrivateKey": "00F908E5ED9C2059A960E3A58056F69E0CF75299182CEB93B74CD1FDC633FCA0E5" //私钥
  8. }
  9. },
  10. //日志配置
  11. "Logging": {
  12. "Monitor": {
  13. "Write": false, //是否文件写入LoggingMonitor日志
  14. "Console": false, //是否控制台输出LoggingMonitor日志
  15. },
  16. "MessageFormat": true, //是否格式化日志
  17. "LogLevel": {
  18. "Default": "Information", //默认日志级别
  19. "Max": "Error", //最大日志级别
  20. "Microsoft": "Warning",
  21. "Microsoft.Hosting.Lifetime": "Information",
  22. "Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Information"
  23. }
  24. }
  25. }