Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue #67 #81

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open

Conversation

janspeller
Copy link
Member

adds a log option for the server

@Schrolli91
Copy link
Member

This should disable ALL logging and file access to prevent killing the raspi SD card over time

@janspeller
Copy link
Member Author

@Schrolli91 I'll add the option for the other logs in the next week c:

@Schrolli91
Copy link
Member

@janspeller any updates at this topic?

@janspeller
Copy link
Member Author

@janspeller any updates at this topic?

@Schrolli91
Finally had some time to look back into Boswatch-Devolopment.
So: The only easy Option to disable "all" Logging is to set the logger .ini files to only log ERROR and up.
Would that be a solution or do you think there should be a custom logger?

config/server.yaml Outdated Show resolved Hide resolved
@@ -157,15 +157,16 @@ decoder:
```

---
## Server
<h2 id="server-configuration">Server</h2>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wieso als H2? Geht das nicht auch mit file.md#headline?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Schrolli91 #server linked auf die erste gefundene Instanz von server in einer Headline, das wäre in diesem Fall falsch. Alternativ koennte ich die Headline auf Server-Konfiguration o.ä. ändern, dann koennten wir unten eindeutig darauf verweisen :)

Copy link
Member

@Schrolli91 Schrolli91 May 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janspeller
Finde halt das HTML etwas störend im sonst recht sauberen Markdown.
Aber wenn das nicht anders geht, ohne jetzt alles irgendwie umzubenennen, dann lassen wir das halt so.
Außer du hast noch eine Idee - bin mir nicht sicher ob mkDocs da nicht auch eine Möglichkeit bietet, benutzerdefinierte Anker zu erzeugen.

Copy link
Member Author

@janspeller janspeller Jan 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Schrolli91 Ich wüsste leider so keine bessere Lösung, ausser die Section umzubenennen. Wird auch häufig so (oder mit <a id="section"></a> hinter der heading) verwendet. Was meinst du?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NO_LOG option
2 participants