123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {
- "Port": 5050,
- "Id": 1,
- "AipPort": 7000,
- "AipBindings": 32,
- "Name": "AIP Gateway RESTFull Service",
- "Version": "1.0.0.0",
- "MipDataPath": "C:\\Temp\\App_Data\\mip_data99",
- "SourceFilePath": "C:\\Data\\Source\\",
- "TargetFilePath": "C:\\Data\\Target\\",
- "ConnectionStrings": {
- "DefaultConnection": "Server=115.91.94.42,11433;Uid=aipuser;Pwd=aipuser;Database=aipdb;MultipleActiveResultSets=true;TrustServerCertificate=True;"
- },
- "Serilog": {
- "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
- "MinimumLevel": {
- "Default": "Information",
- "Override": {
- "Microsoft": "Warning",
- "Microsoft.EntityFrameworkCore.Database.Command": "Warning"
- }
- },
- "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithExceptionDetails" ],
- "WriteTo": [
- {
- "Name": "Console",
- "Args": {
- "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
- "outputTemplate": "[{Timestamp:HH:mm:ss.fff}] [{Level:u3}] {Message:lj} ({SourceContext}){NewLine}{Exception}"
- }
- },
- {
- "Name": "File",
- "Args": {
- "path": "c:\\Temp\\Logs\\AipGateway.API\\AipGateway.API-.log",
- "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff}] [{Level:u3}] {Message:lj} ({SourceContext}){NewLine}{Exception}",
- "rollOnFileSizeLimit": true,
- "rollingInterval": "Day",
- "fileSizeLimitBytes": 4194304,
- "retainedFileCountLimit": 10
- }
- }
- ]
- },
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "System": "Information",
- "Coravel": "Information",
- "Coravel.Scheduling.HostedService": "Information",
- "Microsoft": "Warning",
- "Microsoft.AspNetCore": "Information",
- "Microsoft.Hosting.Lifetime": "Information",
- "Microsoft.AspNetCore.Mvc": "Warning",
- "Microsoft.AspNetCore.Routing": "Warning",
- "Microsoft.AspNetCore.Hosting": "Warning"
- }
- },
- "AllowedHosts": "*"
- }
|