Read the log from the administration area #49
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Postulo/postulo#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
Why
When something goes wrong on a self-hosted instance — a notifier that will not send, a
store that refuses a document, a capture that fails — the answer is in the log, and getting
to it today means
docker logsand a shell. The person administering a Postulo instance isusually the person using it, and often on a phone.
What exists today
LOGGINGinconfig/settings/base.pywrites one formatted line per record to the consoleat
POSTULO_LOG_LEVEL. Nothing is kept, so there is nothing for a page to read.Shape
count (
POSTULO_LOG_DIR, default beside the media), with the console handler leftexactly as it is so
docker logskeeps working.whatever extras the record carried. A page can then filter by level and by logger
without parsing prose, and #51 has something to serve.
filter, a logger filter and a search box; and a link straight to it from the plugin and
connection pages when something there has failed, which is when anybody wants it.
is for administrators only and says at the top that records may name people, companies
and applications — and as part of this, an audit that nothing in Postulo logs a
document's contents in the first place.
Classification
Enhancement. Not breaking: the console keeps receiving everything it receives now.
Depends on
Nothing. #51 depends on this.
Open questions
bounded on a busy one.