<?php

// LOGS LIST FILTERS //////////////////////////////////////////////////////////////
$CFG['Admin']['Server']['Logs']['listingParams']['resultsPerPage'] = 15;
$CFG['Admin']['Server']['Logs']['listingParams']['orderColumn'] = 'addTime';
$CFG['Admin']['Server']['Logs']['listingParams']['orderDirection'] = 'DESC';

// LOGS DEFAULT FILTERS ///////////////////////////////////////////////////////////////////
// logs date
$CFG['Admin']['Server']['Logs']['listingParams']['filters']['addTime']['start'] = date(DATETIME_FORMAT, strtotime('-1 days midnight'));
$CFG['Admin']['Server']['Logs']['listingParams']['filters']['addTime']['end'] = date(DATETIME_FORMAT, strtotime('+1 day midnight'));
$CFG['Admin']['Server']['Logs']['listingParams']['filters']['logLevel'] = ['critical', 'error', 'warning', 'info'];
$CFG['Admin']['Server']['Logs']['listingParams']['filters']['dataSource'] = 'current';

