[Django] #34152: Add the ability to store logs in a table

11 views
Skip to first unread message

Django

unread,
Nov 12, 2022, 8:14:21 AM11/12/22
to django-...@googlegroups.com
#34152: Add the ability to store logs in a table
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
alireza0sfr |
Type: New | Status: assigned
feature |
Component: Utilities | Version: 4.1
Severity: Normal | Keywords: serilog, database-
Triage Stage: | logging, log
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hey there,
I think it'd be a great feature to be able to store logs in dedicated
table to filter, and etc.. a lot easier what I have in mind is somthing
like Serilog sinks (used for dotnet developers)

PS:
Serilog sink for PosgtresSQL: https://github.com/b00ted/serilog-sinks-
postgresql

--
Ticket URL: <https://code.djangoproject.com/ticket/34152>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 12, 2022, 8:14:48 AM11/12/22
to django-...@googlegroups.com
#34152: Add the ability to store logs in a table
-------------------------------------+-------------------------------------
Reporter: Alireza Safari | Owner: nobody
Type: New feature | Status: assigned
Component: Utilities | Version: 4.1
Severity: Normal | Resolution:

Keywords: serilog, database- | Triage Stage:
logging, log | Unreviewed
Has patch: 0 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Alireza Safari):

* needs_docs: 0 => 1
* needs_tests: 0 => 1
* easy: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/34152#comment:1>

Django

unread,
Nov 12, 2022, 8:15:25 AM11/12/22
to django-...@googlegroups.com
#34152: Add the ability to store logs in a table
-------------------------------------+-------------------------------------
Reporter: alireza0sfr | Owner:
| alireza0sfr

Type: New feature | Status: assigned
Component: Utilities | Version: 4.1
Severity: Normal | Resolution:
Keywords: serilog, database- | Triage Stage:
logging, log | Unreviewed
Has patch: 0 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by alireza0sfr):

* owner: nobody => alireza0sfr


--
Ticket URL: <https://code.djangoproject.com/ticket/34152#comment:2>

Django

unread,
Nov 14, 2022, 12:05:31 AM11/14/22
to django-...@googlegroups.com
#34152: Add the ability to store logs in a table
-------------------------------------+-------------------------------------
Reporter: Alireza Safari | Owner: Alireza
| Safari
Type: New feature | Status: closed
Component: Utilities | Version: 4.1
Severity: Normal | Resolution: wontfix

Keywords: serilog, database- | Triage Stage:
logging, log | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: assigned => closed
* needs_docs: 1 => 0
* resolution: => wontfix
* needs_tests: 1 => 0
* easy: 1 => 0


Comment:

Thanks for this ticket, however it's already covered by 3rd party
packages, e.g. `django-db-logger`. I'm not sure how using `serilog` is
different because I've never used it (as probably most Python developers).

Please first start a discussion on the DevelopersMailingList, where you'll
reach a wider audience and see what other think, and
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features follow the guidelines with regards to
requesting features]:

> ''"Describe clearly and concisely what the missing feature is and how
you’d like to see it implemented."''

--
Ticket URL: <https://code.djangoproject.com/ticket/34152#comment:3>

Django

unread,
Nov 21, 2022, 8:40:17 AM11/21/22
to django-...@googlegroups.com
#34152: Add the ability to store logs in a table
-------------------------------------+-------------------------------------
Reporter: Alireza Safari | Owner: Alireza
| Safari
Type: New feature | Status: closed
Component: Utilities | Version: 4.1
Severity: Normal | Resolution: wontfix
Keywords: serilog, database- | Triage Stage:
logging, log | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mohamed El-Kalioby):

You can use django-model-trackwr which allows you to know how and when a
change happened. Also, it allows you to revert to a previous version of
the object.

--
Ticket URL: <https://code.djangoproject.com/ticket/34152#comment:4>

Reply all
Reply to author
Forward
0 new messages