Changed logtype to file instead of owncloud.
- Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490.
Showing
- config/config.sample.php 1 addition, 1 deletionconfig/config.sample.php
- core/Command/Log/File.php 8 additions, 6 deletionscore/Command/Log/File.php
- core/Command/Log/Manage.php 2 additions, 2 deletionscore/Command/Log/Manage.php
- core/register_command.php 1 addition, 1 deletioncore/register_command.php
- lib/private/Log.php 3 additions, 1 deletionlib/private/Log.php
- lib/private/Log/File.php 1 addition, 1 deletionlib/private/Log/File.php
- lib/private/Log/Syslog.php 1 addition, 1 deletionlib/private/Log/Syslog.php
- lib/private/Server.php 3 additions, 2 deletionslib/private/Server.php
- settings/Controller/LogSettingsController.php 3 additions, 3 deletionssettings/Controller/LogSettingsController.php
- settings/admin.php 4 additions, 3 deletionssettings/admin.php
- tests/Core/Command/Log/ManageTest.php 1 addition, 1 deletiontests/Core/Command/Log/ManageTest.php
- tests/Core/Command/Log/OwnCloudTest.php 5 additions, 5 deletionstests/Core/Command/Log/OwnCloudTest.php
- tests/lib/Log/OwncloudTest.php 4 additions, 4 deletionstests/lib/Log/OwncloudTest.php
Loading
Please register or sign in to comment