Feature #46050

To decouple log file writing at Logger->logException

Added by Thiago Colares over 8 years ago.

Status:
New
Priority:
Could have
Assignee:
-
Category:
Log
Target version:
-
Start date:
2013-03-05
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Has patch:
No
Complexity:

Description

The TYPO3\Flow\Log\Logger->logException() method perform itself the file log writing. As in log(), it could be decoupled to facilitate any override to this writing.

For example, in log(), is easily possible to set the backend as follow:

File: /project_path/Configuration/Settings.yaml

TYPO3:
  Flow:
    log:
      # Settings for Flow's default loggers
      # see more at Framework/TYPO3.Flow/Configuration/Settings
      systemLogger:
        backend: MyPackage\Log\Backend\MyFileBackend

So far, I guess the only way is to set up the Objects.yaml, am I right?

No data to display

Also available in: Atom PDF