-
Notifications
You must be signed in to change notification settings - Fork 143
RDoc-3588 Fix articles: Set & Get Logs Configuration #2214
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
base: main
Are you sure you want to change the base?
RDoc-3588 Fix articles: Set & Get Logs Configuration #2214
Conversation
|
|
||
| * Setting `persist` to `true` in the operation will persist **only the minimum level** to the `settings.json` file. | ||
| The value will be written under the [Logs.MinLevel](../../../../server/configuration/logs-configuration#logsminlevel) configuration key. | ||
| Filter rules are currently Not persisted and must be reapplied after a server restart. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also configure that in the NLog configuration, no?
Maybe worth mentioning that?
| `} | ||
| </CodeBlock> | ||
| ```csharp | ||
| var configuration = new SetLogsConfigurationOperation.AdminLogsConfiguration() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's worth mentioning that this will affect all open studios immediately.
(I was surprised by that)
| This is a live stream of recent log activity shown only in the UI. | ||
|
|
||
| * These logs are configured separately from the logs that are written to disk. | ||
| Any settings you apply here, such as minimum level or filters, apply **only** the admin logs and do not affect the server logs saved on disk. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it will affect other open admin log pages
Related issue:
https://issues.hibernatingrhinos.com/issue/RDoc-3588/Fix-articles-Set-Get-Logs-Configuration
Fixes were applied to v7.0, v7.1, and v7.2