Change log verbosity for the HTTP client (#1955)
* Change the path * Update notice file location * Remove unused notice import * remove httpclientfactory logs
This commit is contained in:
Родитель
5d1984970d
Коммит
49f5c0412a
|
@ -31,6 +31,7 @@ RUN dotnet publish "LoRaWanNetworkSrvModule.csproj" -c Release -o out --no-resto
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
|
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
|
||||||
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./
|
||||||
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
|
||||||
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
|
||||||
COPY LICENSE ./
|
COPY LICENSE ./
|
||||||
|
|
|
@ -30,6 +30,7 @@ RUN dotnet publish "LoRaWanNetworkSrvModule.csproj" -c Release -o out --no-resto
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm32v7
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm32v7
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./
|
||||||
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
|
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
|
||||||
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
|
||||||
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
|
||||||
|
|
|
@ -32,8 +32,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm64v8
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
|
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
|
||||||
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
|
||||||
COPY LICENSE ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./
|
||||||
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
|
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
|
||||||
|
COPY LICENSE ./
|
||||||
RUN chmod +x ./start.sh
|
RUN chmod +x ./start.sh
|
||||||
ENTRYPOINT ["./start.sh"]
|
ENTRYPOINT ["./start.sh"]
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"System.Net.Http.HttpClient": "Warning",
|
||||||
|
"Microsoft.Extensions.Http.DefaultHttpClientFactory": "Warning"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Загрузка…
Ссылка в новой задаче