Merged in feature/HOR-4634 (pull request #6523)

HOR-4634

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2018-06-20 15:33:46 +00:00
committed by Julio Cesar Laura Avendaño
5 changed files with 131 additions and 30 deletions

View File

@@ -11,6 +11,7 @@ use Symfony\Component\Finder\Finder;
class AuditLog
{
const READ_LOGGING_LEVEL = false;
private $actions = [];
private $columns;
private $pageSizeDefault = 20;
@@ -293,7 +294,15 @@ class AuditLog
$context['usrName'] = $this->userFullname;
$context['action'] = $action;
$context['description'] = $value;
Bootstrap::registerMonolog($action, 200, $action, $context, $context['workspace'], 'audit.log');
Bootstrap::registerMonolog(
$action,
200,
$action,
$context,
$context['workspace'],
'audit.log',
self::READ_LOGGING_LEVEL
);
}
/**

View File

@@ -61,7 +61,9 @@ class System
'redirect_to_mobile' => 0,
'disable_php_upload_execution' => 0,
'disable_download_documents_session_validation' => 0,
'logs_max_files' => 60
'logs_max_files' => 60,
'logs_location' => '',
'logging_level' => 'INFO'
);
/**