Skip to content

Commit

Permalink
Change log verbosity for the HTTP client (Azure#1955)
Browse files Browse the repository at this point in the history
* Change the path

* Update notice file location

* Remove unused notice import

* remove httpclientfactory logs
  • Loading branch information
Mandur authored and ouphi committed Nov 2, 2022
1 parent 0c11b7f commit fc9ec4e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
WORKDIR /app
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/NOTICE.txt ./
COPY LICENSE ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
WORKDIR /app
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./
Expand Down
4 changes: 2 additions & 2 deletions LoRaEngine/modules/LoRaWanNetworkSrvModule/Dockerfile.arm64v8
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm64v8
WORKDIR /app
COPY --from=build-env /build/LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWanNetworkSrvModule/out/* ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/start.sh ./
COPY LICENSE ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json ./
COPY ./LoRaEngine/modules/LoRaWanNetworkSrvModule/NOTICE.txt ./

COPY LICENSE ./
RUN chmod +x ./start.sh
ENTRYPOINT ["./start.sh"]
8 changes: 8 additions & 0 deletions LoRaEngine/modules/LoRaWanNetworkSrvModule/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"System.Net.Http.HttpClient": "Warning",
"Microsoft.Extensions.Http.DefaultHttpClientFactory": "Warning"
}
}
}

0 comments on commit fc9ec4e

Please sign in to comment.