1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {
- "Port": 7000,
- "Bindings": 32,
- "Id": 1,
- "Name": "AIP Gateway RESTFull Service",
- "Version": "1.0.0.0",
- "MipDataPath": "C:\\Temp\\App_Data\\mip_data",
- "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.AIP.Service\\AipGateway.AIP.Service-.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": "*"
- }
|