Bug 50709 - [Kelvin API] make log level configurable
[Kelvin API] make log level configurable
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Daniel Tröder
:
Depends on:
Blocks: 50717 50637
  Show dependency treegraph
 
Reported: 2020-01-10 14:40 CET by Daniel Tröder
Modified: 2021-02-23 09:30 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2020-01-10 14:40:29 CET
The log level of messages sent to /var/log/univention/ucs-school-kelvin/http.log should be configurable.
Comment 1 Daniel Tröder univentionstaff 2020-01-12 11:38:44 CET
There is now a UCRV "ucsschool/kelvin/log_level" that can be set in the APPSettings.
Description = Log level for messages written to /var/log/univention/ucs-school-kelvin/http.log. Valid values are "DEBUG", "INFO", "WARNING" and "ERROR". Defaults to "INFO".

[feature/kelvin] 5d1da93f2 Bug #50709: make log level configurable through AppSettings
[feature/kelvin] 6c17f0638 Bug #50709: document default setting
Comment 2 Tobias Wenzel univentionstaff 2020-01-16 09:46:49 CET
Changing the log settings to DEBUG in UDM was possible, changes visible after restarting the API.
Comment 3 Daniel Tröder univentionstaff 2021-02-23 09:30:04 CET
A Kelvin API app with the changes in this bug has been published.