| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/usermin/ |
Upload File : |
# Contains a function to supply the syslog module with extra logs
require 'usermin-lib.pl';
# syslog_getlogs()
# Returns the Usermin error log
sub syslog_getlogs
{
local %miniserv;
&get_usermin_miniserv_config(\%miniserv);
if ($miniserv{'errorlog'} eq '-') {
# Logging to stdout
return ( );
}
elsif ($miniserv{'errorlog'}) {
# Specific file
return ( { 'file' => $miniserv{'errorlog'},
'desc' => $text{'syslog_errorlog'},
'active' => 1, } );
}
elsif ($miniserv{'logfile'} =~ /^(.*)\/[^\/]+$/) {
# Relative to main log
return ( { 'file' => "$1/miniserv.error",
'desc' => $text{'syslog_errorlog'},
'active' => 1, } );
}
}