Skip to content

Commit 576e681

Browse files
committed
Update README and logging configuration
- Enhanced README with formatting improvements, added Aspire Integration section, and updated links for buy-me-a-coffee and contributors. - Adjusted logging configuration in Startup.cs to set debug level for additional Microsoft namespaces, improving log visibility for debugging purposes.
2 parents f07cd01 + 44e1550 commit 576e681

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,10 @@ Inside the file you can find:
153153

154154
- vault (Hashicorp)
155155

156-
> ** NOTE**
156+
> **NOTE**
157+
>
157158
> The commands above allows to setup infrastructure components, this means you can find all the containers inside the same network `genocs`.
159+
>
158160
> Whenever possible the data are persisted on the host machine by means of volumens, so you can restart the containers without losing data.
159161
160162

@@ -191,6 +193,11 @@ You can setup the application inside a Kubernetes cluster.
191193
Check the repo [enterprise-containers](https://github.com/Genocs/enterprise-containers) to setup a Kubernetes cluster.
192194
There you can find scripts, configuration files and documentation to setup a cluster from scratch.
193195
196+
## ***Aspire Integration***
197+
198+
SOON :rocket:
199+
200+
194201
## Support
195202
196203
Use [**api-workbench**](./api-workbench.rest) inside Visual Studio code with [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) plugin
@@ -234,7 +241,12 @@ Use [**api-workbench**](./api-workbench.rest) inside Visual Studio code with [RE
234241
},
235242
"logger": {
236243
"level": "information",
237-
"excludePaths": [ "/", "/ping", "/metrics" ],
244+
"excludePaths": [
245+
"/",
246+
"/healthz",
247+
"/alive",
248+
"/metrics"
249+
],
238250
"excludeProperties": [
239251
"api_key",
240252
"access_key",
@@ -468,7 +480,7 @@ docker push genocs/demo-worker:latest
468480
```
469481
---
470482

471-
## Enterprise Application
483+
## **Enterprise Application**
472484

473485
### Application Components
474486

@@ -518,7 +530,7 @@ docker builder prune
518530
```
519531

520532

521-
Following commands are useful to build and push the images one by one
533+
Use following to build and push the images one by one
522534

523535
``` bash
524536
# Build images
@@ -612,13 +624,13 @@ Here are a few ways by which you can support.
612624
- ☕ If you want to support this project in the long run, [consider buying me a coffee](https://www.buymeacoffee.com/genocs)!
613625

614626

615-
[![buy-me-a-coffee](https://raw.githubusercontent.com/Genocs/blazor-template/main/assets/buy-me-a-coffee.png "buy-me-a-coffee")](https://www.buymeacoffee.com/genocs)
627+
[![buy-me-a-coffee](https://raw.githubusercontent.com/Genocs/genocs-library/main/assets/buy-me-a-coffee.png "buy-me-a-coffee")](https://www.buymeacoffee.com/genocs)
616628

617629
## Code Contributors
618630

619631
This project exists thanks to all the people who contribute. [Submit your PR and join the team!](CONTRIBUTING.md)
620632

621-
[![genocs contributors](https://contrib.rocks/image?repo=Genocs/blazor-template "genocs contributors")](https://github.com/genocs/blazor-template/graphs/contributors)
633+
[![genocs contributors](https://contrib.rocks/image?repo=Genocs/genocs-library "genocs contributors")](https://github.com/genocs/genocs-library/graphs/contributors)
622634

623635
## Financial Contributors
624636

src/Genocs.Logging/Startup.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,15 @@ public static void EnsureInitialized()
1919
{
2020
Log.Logger = new LoggerConfiguration()
2121
.MinimumLevel.Debug()
22-
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
23-
.MinimumLevel.Override("MassTransit", LogEventLevel.Information)
22+
.MinimumLevel.Override("Microsoft", LogEventLevel.Debug)
23+
.MinimumLevel.Override("MassTransit", LogEventLevel.Debug)
24+
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Debug)
25+
.MinimumLevel.Override("System", LogEventLevel.Debug)
26+
.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Debug)
27+
.MinimumLevel.Override("Microsoft.AspNetCore.Hosting", LogEventLevel.Debug)
28+
.MinimumLevel.Override("Microsoft.AspNetCore.Routing", LogEventLevel.Debug)
29+
.MinimumLevel.Override("Microsoft.AspNetCore.Http", LogEventLevel.Debug)
30+
.MinimumLevel.Override("Microsoft.AspNetCore.Mvc", LogEventLevel.Debug)
2431
.Enrich.FromLogContext()
2532
.WriteTo.Console()
2633
.CreateLogger();

0 commit comments

Comments
 (0)