Project

General

Profile

Actions

Feature #90323

open

Make it possible to turn off sys_log logging entirely?

Added by Sybille Peters about 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Logging
Target version:
-
Start date:
2020-02-04
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

I have been going through the logs. It bugs me that logs are written in several places. I am trying to streamline this on my site. I want to use the Logging Framework only and no longer log to sys_log database tables.

1) Should this be possible by design?

2) It is currently not entirely possible because the AbstractExceptionHandler writes to sys_log (writeLog()) and logging framework. The logging framework log is configurable, the other not. (While you can override this, it seems awkward to have to override the default logging in order to be able configure the logging.)
For the error handler you can configure it with belogErrorReporting

3) ... maybe other places which I have not checked yet log to sys_log

No data to display

Actions

Also available in: Atom PDF