Bug #40738

Move System logger className to Settings instead of Objects.yaml

Added by Henrik Møller Rasmussen almost 3 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2012-09-07
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Log
Target version:TYPO3 Flow Base Distribution - 1.1.1
PHP Version: Complexity:
Has patch:No Affected Flow version:(any)

Description

TYPO3\FLOW3\Log\Logger is hard coded in Scripts.php line 133. This class could be moved to Settings.yaml instead.


Related issues

duplicated by TYPO3.Flow - Bug #46053: Booting->initializeSystemLogger() uses a fixed $loggerObj... Resolved 2013-03-05

Associated revisions

Revision 0c1046e9
Added by Henrik Møller Rasmussen over 2 years ago

[FEATURE] Make System Logger frontend configurable

Move hard coded TYPO3\FLOW3\Log\Logger to Settings.yaml instead. This
allows a user to fully replace the logger instead of just adding or
removing backends.

Resolves: #40738 #46053
Releases: master, 2.0
Change-Id: I6da4763fb94798b1d1647b6108457996a48aa128

Revision b1c23134
Added by Henrik Møller Rasmussen over 2 years ago

[FEATURE] Make System Logger frontend configurable

Move hard coded TYPO3\FLOW3\Log\Logger to Settings.yaml instead. This
allows a user to fully replace the logger instead of just adding or
removing backends.

Resolves: #40738
Resolves: #46053
Releases: master, 2.0
Change-Id: I6da4763fb94798b1d1647b6108457996a48aa128

Revision 8ece7498
Added by Karsten Dambekalns over 2 years ago

[BUGFIX] Undefined index breaks logger setup in Production

With I6da4763fb94798b1d1647b6108457996a48aa128 the logger used for the
system log was made configurable. In Production context, when cached
settings are used, this breaks after an update - and even --force with a
cache flush does not help.

This change adds a safeguard against the settings not being there.

Change-Id: I3d72e8c8580f552f45a1865bd45dae01c4413cce
Related: #40738
Related: #46053
Releases: master, 2.0

Revision c3f0cdbf
Added by Karsten Dambekalns over 2 years ago

[BUGFIX] Undefined index breaks logger setup in Production

With I6da4763fb94798b1d1647b6108457996a48aa128 the logger used for the
system log was made configurable. In Production context, when cached
settings are used, this breaks after an update - and even --force with a
cache flush does not help.

This change adds a safeguard against the settings not being there.

Change-Id: I3d72e8c8580f552f45a1865bd45dae01c4413cce
Related: #40738
Related: #46053
Releases: master, 2.0

Revision 29ea4e4d
Added by Henrik Møller Rasmussen over 2 years ago

[FEATURE] Make System Logger frontend configurable

Move hard coded TYPO3\FLOW3\Log\Logger to Settings.yaml instead. This
allows a user to fully replace the logger instead of just adding or
removing backends.

Resolves: #40738 #46053
Releases: master, 2.0
Change-Id: I6da4763fb94798b1d1647b6108457996a48aa128

Revision 60e1bd57
Added by Karsten Dambekalns over 2 years ago

[BUGFIX] Undefined index breaks logger setup in Production

With I6da4763fb94798b1d1647b6108457996a48aa128 the logger used for the
system log was made configurable. In Production context, when cached
settings are used, this breaks after an update - and even --force with a
cache flush does not help.

This change adds a safeguard against the settings not being there.

Change-Id: I3d72e8c8580f552f45a1865bd45dae01c4413cce
Related: #40738
Related: #46053
Releases: master, 2.0

History

#1 Updated by Karsten Dambekalns almost 3 years ago

  • Status changed from New to Accepted

#2 Updated by Karsten Dambekalns over 2 years ago

  • Target version changed from 1.1.1 to 2052

#3 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19003

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19003

#5 Updated by Henrik Møller Rasmussen over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19084

#7 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19084

#8 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19084

#9 Updated by Henrik Møller Rasmussen over 2 years ago

  • Status changed from Under Review to Resolved

#10 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch composer has been pushed to the review server.
It is available at https://review.typo3.org/19369

#11 Updated by Henrik Møller Rasmussen over 2 years ago

  • Status changed from Under Review to Resolved

#12 Updated by Karsten Dambekalns almost 2 years ago

  • Target version changed from 2052 to 1.1.1

Also available in: Atom PDF