30 parent::__construct();
31 $this->
cli_help[
'name'] =
'syslog -- Show entries from syslog';
32 $this->
cli_help[
'description'] = trim(
' 33 Showing last 25 hour entries from the syslog. More features pending. This is the most basic and can be useful for nightly check test reports. 48 'message' => $this->
cli_help[
'name'] . LF . LF . $this->
cli_help[
'description'],
50 'listing' => array(
'',
'', 1),
51 'allDetails' => array(
'',
'', 0)
54 'allDetails' => array()
56 $rows = $TYPO3_DB->exec_SELECTgetRows(
'*',
'sys_log',
'tstamp>' . (
$GLOBALS[
'EXEC_TIME'] - 25 * 3600));
57 foreach ($rows as $r) {
58 $l = unserialize($r[
'log_data']);
60 $resultArray[
'listing'][$r[
'uid']] = $explained;
61 $resultArray[
'allDetails'][$r[
'uid']] = array($explained, \
TYPO3\CMS\Core\Utility\
GeneralUtility::arrayToLogString($r,
'uid,userid,action,recuid,tablename,recpid,error,tstamp,type,details_nr,IP,event_pid,NEWid,workspace'));
static arrayToLogString(array $arr, $valueList=array(), $valueLength=20)
main_autoFix($resultArray)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]