Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and restructure Logging chapters #862

Closed
sypets opened this issue May 11, 2020 · 2 comments
Closed

Update and restructure Logging chapters #862

sypets opened this issue May 11, 2020 · 2 comments
Labels
content missing Related to adding new content to docs. content structure content Related to changing / updating / adding ... content

Comments

@sypets
Copy link
Contributor

sypets commented May 11, 2020

Might also make sense to merge it with the "deprecation" chapter and the error and exception handler chapter and have one "logging, error and exception" handling chapter.

Clarifiy some questions first:

  • "system log" is listed as outdated, but logging via writelog() and directly to sys_log table is still heavily done in the core (even in the error / exception handlers), so is this really outdated
  • why are there 2 logging methods and will the "sys_log" method be eventually deprecated?
  • Is there any way to log to the sys_log via the logging framework and view that in the "Log" BE module? Is this still planned to be supported in the future?

The ADMIN TOOLS > Log module is not adapted to the records written by the DatabaseWriter into the sys_log table. If you write such records there, you will not be able to see them using that module.

https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/Logging/Writers/Index.html#databasewriter

(see also Stack Overflow)

Add some information

  • explain configuration options:
  • [SYS][systemLog] : "Enables the deprecated system log functionality. Log data is written to the Logging API." (default: false)
  • [SYS][systemLogLevel]
  • [SYS][belogErrorReporting]
@sypets sypets added content missing Related to adding new content to docs. content Related to changing / updating / adding ... content content structure labels May 11, 2020
@sypets
Copy link
Contributor Author

sypets commented Jul 20, 2020

ErrorHandler writes to both sys_log and logging framework.

  • might want to update the page, and point to start page of logging where the difference is cleared up and the settings are explained.

@linawolf
Copy link
Member

this was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content missing Related to adding new content to docs. content structure content Related to changing / updating / adding ... content
Projects
None yet
Development

No branches or pull requests

2 participants