[! use strict; use PVE::I18N; use PVE::ConfigServer; use PVE::HTMLUtils; use PVE::HTMLControls; use IO::File; !] [- use strict; my $cinfo = $fdat{__cinfo}; my $veid = $fdat{veid}; my $cid = $fdat{cid}; if (!($veid && defined ($cid))) { print OUT "NO CID/VEID
\n"; return; } my $out = ''; $out .= PVE::HTMLUtils::create_statusframe ('logview', __("Syslog"), undef, undef, 450); $out .= PVE::HTMLControls::create_wsviewer ('logview', 'logviewright', '/ws/vmlogview', { cid => $cid , veid => $veid, service => 'syslog' }, 1); print OUT $out; -]