public function systemOverview(Request $request)
    {
        $action = $request->query->get('action');

        if ($action == 'clear') {
            $this->manager()->clear('system');
            $this->flashes()->success(Trans::__('logs.system-log.cleared'));

            return $this->redirectToRoute('systemlog');
        } elseif ($action == 'trim') {
            $this->manager()->trim('system');
            $this->flashes()->success(Trans::__('logs.system-log.trimmed'));

            return $this->redirectToRoute('systemlog');
        }

        // Test/get page number
        $page = $this->app['pager']->getCurrentPage('activity');

        $options = [
            'level'   => $request->query->get('level'),
            'context' => $request->query->get('context'),
        ];

        $activity = $this->manager()->getActivity('system', $page, 16, $options);

        return $this->render('@bolt/activity/systemlog.twig', ['entries' => $activity]);
    }