mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
14 lines
302 B
PHP
14 lines
302 B
PHP
<?php
|
|
// clean/rotate general logs
|
|
$logs = glob('logs/webservices/*.log');
|
|
if ($logs && is_array($logs)) {
|
|
foreach ($logs as $log) {
|
|
LogUtils::rotateLog($log);
|
|
}
|
|
}
|
|
$logs = glob('logs/ProcessEngine/*.log');
|
|
if ($logs && is_array($logs)) {
|
|
foreach ($logs as $log) {
|
|
LogUtils::rotateLog($log);
|
|
}
|
|
} |