Update config/logging with new options (bubble, permission and locking)

This commit is contained in:
DariusIII
2018-03-12 09:23:30 +01:00
parent 143108c8f2
commit b5a679ea46
3 changed files with 8 additions and 25 deletions
+2
View File
@@ -1,3 +1,5 @@
2018-03-12 DariusIII
* Chg: Update config/logging with new options (bubble, permission and locking)
2018-03-11 DariusIII
* Chg: Update laravel/scout to version 4.0.2
2018-03-09 DariusIII
-25
View File
@@ -1,25 +0,0 @@
<?php
/**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program (see LICENSE.txt in the base directory. If
* not, see:.
*
* @link <http://www.gnu.org/licenses/>.
* @author niel
* @copyright 2016 nZEDb
*/
require_once '..'.DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
$updates = NN_CONFIGS.'updates.json';
if (! file_exists($updates)) {
$json = ['script' => time()];
file_put_contents(json_encode($json, JSON_PRETTY_PRINT));
}
+6
View File
@@ -35,12 +35,18 @@ return [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'bubble' => true,
'permission' => 0775,
'locking' => false,
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 7,
'bubble' => true,
'permission' => 0775,
'locking' => false,
],
'slack' => [
'driver' => 'slack',