Directory Classes/Log/Backend/

Directory Created:
2008-12-16 17:52
Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
10
Lines of Code:
0

[root]/Classes/Log/Backend

Lines of Code

Classes/Log/Backend/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 67 (100.0%) 902 (100.0%) 13.4
k-fish 48 (71.6%) 574 (63.6%) 11.9
robert 19 (28.4%) 328 (36.4%) 17.2

Most Recent Commits

k-fish 2010-08-24 10:42 Rev.: 5057

Removed everything in trunk after move to git.

0 lines of code changed in 10 files:

  • Classes/Log/Backend: AbstractBackend.php (del), BackendInterface.php (del), F3_FLOW3_Log_Backend_AbstractBackend.php (del), F3_FLOW3_Log_Backend_BackendInterface.php (del), F3_FLOW3_Log_Backend_File.php (del), F3_FLOW3_Log_Backend_FileBackend.php (del), F3_FLOW3_Log_Backend_Null.php (del), F3_FLOW3_Log_Backend_NullBackend.php (del), FileBackend.php (del), NullBackend.php (del)
k-fish 2010-08-13 16:21 Rev.: 4969

[-TASK] FLOW3: Removed @version keyword from files, resolves #8835.

0 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (-1), BackendInterface.php (-1), FileBackend.php (-1), NullBackend.php (-1)
robert 2010-01-26 10:54 Rev.: 3758

[+FEATURE] FLOW3 (Cache): Implemented a PHP Cache Frontend which allows for effective caching of PHP code which is included with require_once() instead of runtime parsing with eval(). This significantly improves speed when used in combination with an opcode cache such as APC. Currently only the FileBackend supports PHP code caching. Resolves #6137
[+FEATURE] FLOW3 (AOP): The AOP Framework now uses the new PHP cache frontend for storing AOP proxy classes. Speeds up the initial startup of FLOW3 enormously. Relates to #6137
[~TASK] FLOW3: Removed all dependencies from the PHP6 package because the unicode support we were using didn't really make sense in the respective situations.
[+BUGFIX] FLOW3 (Utility): Fixed a bug in Files::emptyDirectoryRecursively() which wrongly recognized certain files as directories due to incorrect usage of the directory iterator.

1 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+1 -1)
robert 2010-01-15 15:38 Rev.: 3643

[~TASK] FLOW3 (Documentation): Updated the Coding Guidelines: removed inconsistent exceptions from the general class naming rules. Also added the rule that names of aspect classes must end with "Aspect". Relates to #5658
[~TASK] Global: Renamed many classes and interfaces in order to be consistent with FLOW3's naming rules. A migration script to update third-party applications will follow soon. Resolves #5658

3 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+3 -3)
k-fish 2009-11-30 15:53 Rev.: 3523

[~TASK] FLOW3: Fixed some @param annotations.

1 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+1 -1)
k-fish 2009-11-05 14:41 Rev.: 3449

[~API] FLOW3 (Log): setLogFileURL() was renamed to setLogFileUrl() in FileBackend.
[~API] FLOW3 (MVC): redirectToURI() was renamed to redirectToUri() in AbstractController.
[~API] FLOW3 (MVC): setRequestURI(), getRequestURI(), setBaseURI() and getBaseURI() were renamed to *Uri() in Request.
[~API] FLOW3 (Property): DataType\URI was renamed to DataType\Uri.
[~API] FLOW3 (Utility): getRequestURI() was renamed to getRequestUri() in Environment.
[~TASK] Fluid (Service): Refactored XML generators a little.
[~TASK] DocumentationBrowser: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] FLOW3: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Fluid: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Kickstart: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Testing: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.
[~TASK] Welcome: Moved towards more consistent class, function and variable naming: changed uppercase acronyms to studlyCaps or StudlyCaps as needed.

23 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+23 -23)
k-fish 2009-10-22 18:22 Rev.: 3345

[~TASK] FLOW3: Added @api annotations on class level and adjusted CGL to explain class-level @api handling.

4 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (+1), BackendInterface.php (+1), FileBackend.php (+1), NullBackend.php (+1)
k-fish 2009-09-30 12:37 Rev.: 3243

[+TASK] FLOW3 (Log): Removed SEVERITY_* constants and switched to PHP's LOG_* constants, resolves #4824.

16 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (+3 -3), BackendInterface.php (+2 -2), FileBackend.php (+10 -10), NullBackend.php (+1 -1)
k-fish 2009-09-30 09:54 Rev.: 3242

[~TASK] FLOW3 (Log): the setting for the maximum log file size is now in bytes instead of MB, relates to #4333.

2 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+2 -2)
k-fish 2009-09-29 22:59 Rev.: 3241

[+FEATURE] FLOW3 (Log): The file backend now has the ability to rotate log files of they exceed a configured size and can keep a configurable number of log files. Resolves #4333.

77 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+77 -3)
k-fish 2009-09-29 14:41 Rev.: 3239

[+FEATURE] FLOW3 (Log): The file backend now logs only messages above a given severity, resolves #3864.
[~TASK] FLOW3 (Log): Some cleanup to comments and code.
[~CONFIGURATION]: Added severityThreshold to the log backend options, in Production context only messages warnings (and above) are logged, in Development context all messages are logged.

25 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (+18), BackendInterface.php (+1 -1), FileBackend.php (+5 -2), NullBackend.php (+1 -1)
k-fish 2009-07-16 15:02 Rev.: 2813

[+TASK] FLOW3: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Fluid: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Kickstart: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHP6: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHPUnit: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Testing: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Welcome: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] YAML: Removed file level docblocks and @package/@subpackage annotations.

0 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (-8), BackendInterface.php (-8), FileBackend.php (-8), NullBackend.php (-8)
k-fish 2009-07-15 12:28 Rev.: 2794

[TASK] FLOW3: moved from @internal to @api, resolves #3883

12 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (+1), BackendInterface.php (+3), FileBackend.php (+5 -1), NullBackend.php (+3)
k-fish 2009-06-24 16:12 Rev.: 2644

[FIX] FLOW3 (MVC): Moved mapping of UUIDs to objects into ArgumentsValidator, fixes #3726
[TASK] FLOW3 (MVC): Removed Argument\setNewFilterChain() and related tests, as Filter\Chain does no longer exist
[TASK] FLOW3: Some cleanup to documentation, added type hint, removed use statement

0 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (-2)
robert 2009-06-02 09:57 Rev.: 2517

* FLOW3: (Log) The FileBackend now supports a new option "createParentDirectories". When turned on (default = off), the logger creates the full path to the log file if the directories don't yet exist. Addresses #3513
* FLOW3: (Environment) Added a new function getSAPIType() which returns the _type_ of PHP's SAPI - i.e. "Web" or "CLI". Addresses #3513
* FLOW3: Changed the settings for the log file URL. Now log files for CLI and Web reside in dedicated sub directories. Resolves #3513
* FLOW3: (MVC) Whyever, the AbstractController only supported Web Requests. Fixed that.

27 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+27)
robert 2009-05-29 11:23 Rev.: 2464

* FLOW3: (Log) Okay, my last commit contained some plain stupid code ... Well, this fixes it. The FileBackend now checks if the logfile URL is a plain file or some userspace stream handler (such as the ones we use in unit tests). If it's a plain file, the newly created file is chmodded 0666 because we currently don't have a better solution at hand. Addresses #3513

11 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+11 -5)
robert 2009-05-29 10:26 Rev.: 2459

* FLOW3: (Log) The FileBackend now chmods the newly created log file with 0660. Resolves #3513

6 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+6)
robert 2009-05-20 19:14 Rev.: 2293

* FLOW3: Marked all methods as @internal except those which are considered part of the official API. Resolves #1280
* TYPO3CR: Fixed two tests of the Storage\PDO\Search testcase.

2 lines of code changed in 2 files:

  • Classes/Log/Backend: FileBackend.php (+1), NullBackend.php (+1)
robert 2009-04-02 16:40 Rev.: 2122

This commit mostly consists of speed optimizations.

* FLOW3: (AOP) Fixed a few pointcut filters which crashed while trying to match against an automatically created constructor which didn't existing originally in the target class.
* FLOW3: (AOP) The ProxyClassBuilder won't add a __wakeup() method to each proxy class anymore. Instead such a method must be introduced manually.
* FLOW3: (Object) Removed the check for abstract classes in the Object Manager's registerObject() method. It's still not allowed to do that but omitting the check means less use of reflection = more speed and PHP will complain about the abstract class anyway.
* FLOW3: (Object) Optimized the use of the reflection service in the Object Manager's registerObject() method.* FLOW3: (Cache) The FileBackend now logs if entries are set instead of removed. Still not the final solution (for logging in general that is)
* FLOW3: (Object) Optimized the instantiation of classes in the ObejctBuilder: The use of ReflectionClass::newInstanceArgs() is now avoided in most cases
* FLOW3: (Object) !!! changed the name of the autowiring setting: it is now "autowiring" instead of "autoWiringMode"
* FLOW3: (Reflection) Optimized the caching of reflection data: All classes which were reflected after the cache has been loaded will be added to the cache during shutdown. Therefore they will be available earlier on the next script run.
* FLOW3: (Reflection) The reflection service now logs important actions for debugging.
* FLOW3: (Log) Enabled the Production log by default (see .../Data/Logs/FLOW3_Production.log)
* FLOW3: Switched autowiring off for a few objects which are loaded at a time when the Reflection Service is not yet initialized and therefore costy to use.

1 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+1 -1)
robert 2009-03-26 23:24 Rev.: 2093

* FLOW3: (Error) Errors and exceptions are now logged into the System Log. Resolves #2957. Greetings from the Bug Auction 2009!

1 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+1)
k-fish 2009-03-03 14:46 Rev.: 1966

FLOW3:
* Package\Meta\XMLWriter now uses startDocument() instead of writeRaw()
* replaced chr(10) with PHP_EOL (where applicable!)
* replaced curly braces with square brackets for character access on strings (this is no longer the better choice...)
* replaced == with typesafe comparator === where it was used

TYPO3CR:
* replaced chr(10) with PHP_EOL (where applicable!)
* replaced curly braces with square brackets for character access on strings (this is no longer the better choice...)

10 lines of code changed in 1 file:

  • Classes/Log/Backend: FileBackend.php (+10 -10)
robert 2009-01-28 13:04 Rev.: 1811

!!! Globally renamed all class files to the new shorter version. Resolves #2524
FLOW3: (Resource) Adapted the class loader and other related parts of FLOW3 to the new class filename convention
FLOW3: Moved the FLOW3 bootstrap into the F3\FLOW3 namepace

29 lines of code changed in 4 files:

  • Classes/Log/Backend: AbstractBackend.php (new 7), BackendInterface.php (new 7), FileBackend.php (new 10), NullBackend.php (new 5)
k-fish 2009-01-26 22:34 Rev.: 1799

FLOW3:
* moved and renamed some Log backend classes and interfaces, refs #2515

374 lines of code changed in 4 files:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_AbstractBackend.php (new 58), F3_FLOW3_Log_Backend_BackendInterface.php (new 70), F3_FLOW3_Log_Backend_FileBackend.php (new 174), F3_FLOW3_Log_Backend_NullBackend.php (new 72)
k-fish 2009-01-15 16:06 Rev.: 1749

FLOW3:
* fixed license name in @license annotation, fixes #2454

2 lines of code changed in 2 files:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_File.php (+1 -1), F3_FLOW3_Log_Backend_Null.php (+1 -1)
robert 2009-01-15 15:24 Rev.: 1747

This is a big commit (sorry - not exactly Continuous Integration ...)
While all seems to be fine and stable, many features introduced in this commit are not complete. Especially AOP Proxy Caching, Logging (API), the System Logger and the Signal Slots mechanism need some further work.

* TYPO3 Distribution: Added a Log directory
* TYPO3 Distribution: Disabled security (for now) because some thing need to be refactored and tested again after this commit
* FLOW3: Further cleanup of the bootstrap. Addresses #2117
* FLOW3: Removed manual registration of objects from all classes and created an Objects.yaml configuration instead which declares the objects and configures their dependencies. This manual registration is necessary for objects such as the AOP Framework because at the time it is created, the Object Manager is not yet fully initialized.
* FLOW3: (AOP) Refactored and cleaned up the AOP initialization process. Resolves #441.
* FLOW3: (AOP) Completely rewrote all unit tests and added many new ones. Now no AOP test relies on the TestPackage anymore. Addresses #1868
* FLOW3: (AOP) Improved the automatic documentation rendering of the Proxy Class Builder. Resolves #35.
* FLOW3: (AOP) Externalized the creation of the AOP proxy and instead use the Caches.yaml configuration.
* FLOW3: (AOP) Removed all use of PHP's Reflection classes and replaced them with calls to the Reflection Service
* FLOW3: (AOP) Converted all classes involved in the proxy building process from static into dynamic calls
* FLOW3: (Cache) Introduced an (semi) automatic cache registration feature which assures that all necessary caches are registered when file changes are detected. In order to register a cache, just define it in the new "Caches.yaml" configuration file. See the FLOW3 package for examples. Resolves #1787
* FLOW3: (Cache) Wrote more tests for the File Backend. Resolves #1843
* FLOW3: (Configuration) Improved the performance of the special configuration management
* FLOW3: (Configuration) Added support for Caches.* configuration
* FLOW3: (Error) The exception handlers now log uncaught exceptions to the System Logger
* FLOW3: (Monitor) Introduced a new sub package "Monitor" which provides a mechanism for automatic detection of changes on monitored files. If monitored files or directories (the latter not yet implemented) change, a signal is emitted which can be catched by a slot taking further action. Currently all cache entries tagged with a class tag are flushed automatically if a class file changes.
* FLOW3: (Log) Introduced a special System Logger which is created automatically and can be injected if needed. Although it works quite well already, the general concept of injecting the logger and the LoggerInterface itself is not final! Watch for log files in the Data/Log/ directory when running TYPO3 / FLOW3 in development context.
* FLOW3: (Log) Introduced a Logger Factory for use in Objects configuration. Warning: the API might still change
* FLOW3: (Log) Made the SEVERITY constants conform to RFC3164 and PHP's LOG_* constants
* FLOW3: (Object) Refactored and detached more unit tests from the TestPackage. Addresses #2123
* FLOW3: (Object) Implemented an early configuration parse step which allows for configuring objects in the Objects.yaml file of the FLOW3 package even before the Package Manager is initialized.
* FLOW3: (Object) Introduced a lifecycle shutdown method (default is "shutdownObject") which can be used as a clean alternative to __destruct().
* FLOW3: (Reflection) Added new API methods: isClassReflected, getInterfaceNamesImplementedByClass, isMethodFinal, isMethodStatic, isMethodPublic, isMethodProtected, isMethodPrivate
* FLOW3: (Reflection) getMethods() now returns information about the method visibility
* FLOW3: (Security) Refactored the ACL Policy Service - might still need some final work
* FLOW3: (SignalSlot) Fixed some small issues in the Dispatcher and implemented support for System Logger
* FLOW3: (Utility) Fixed a bug in Arrays::getValueByPath
* Testing: Implemented a method buildAccessibleProxy() in the BaseTestCase which allows for conveniently calling protected methods of a class. See FLOW3 unit tests for examples.
* TestPackage: Removed many classes which became obsolete due to the AOP tests refactoring. refs #1868

17 lines of code changed in 1 file:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_File.php (+17 -11)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

28 lines of code changed in 2 files:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_File.php (+14 -7), F3_FLOW3_Log_Backend_Null.php (+14 -7)
robert 2008-12-16 20:08 Rev.: 1649

* FLOW3: (Log) (Wrote test and) fixed a bug in the Logger which didn't open a backend on adding it to the logger.
* FLOW3: (Log) Defined classes as prototype where needed
* FLOW3: (Log) File Backend now checks if the log file could really be opened

5 lines of code changed in 2 files:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_File.php (+4 -1), F3_FLOW3_Log_Backend_Null.php (+1)
robert 2008-12-16 18:10 Rev.: 1646

* FLOW3: (Log) Added a "Null" logger backend
* FLOW3: (Log) Some small changes

65 lines of code changed in 2 files:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_File.php (+1 -3), F3_FLOW3_Log_Backend_Null.php (new 64)
robert 2008-12-16 17:52 Rev.: 1645

* FLOW3: (AOP) Modified the AOP proxy class blacklist so that MVC classes can be proxied by aspects
* FLOW3: (Event) Initial commit of a (yet dummy) Signal Aspect. This is work in progress.
* FLOW3: (Log) Reimplemented the Log subpackage. Now it is cleanly divided into frontend and backend and comes with proper unit tests. Further development will follow soon.
* FLOW3: (MVC) Added a sample signal implementation to the MVC Router route() method.
* FLOW3: (Reflection) Fixed a bug in getDefaultImplementationClassNameForInterface() which sometimes used an invalid array key.
* FLOW3: (Cache) Added a test for the Abstract Backend constructor

160 lines of code changed in 1 file:

  • Classes/Log/Backend: F3_FLOW3_Log_Backend_File.php (new 160)
Generated by StatSVN 0.5.0