mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update config/logging with new options (bubble, permission and locking)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user