Rename the old logging system to "System Logs RS" to free up the name for actual systemd-journald

This commit is contained in:
Ilia Ross
2024-05-27 13:47:10 +03:00
parent 554b439bf8
commit 75e9323429
6 changed files with 14 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
index_title=System Logs Viewer index_title=System Logs
index_elogs=No logs were found to display index_elogs=No logs were found to display
index_to=Log destination index_to=Log destination
index_rule=Messages selected index_rule=Messages selected
index_file=File $1 index_file=File $1
index_cmd=Output from $1 index_cmd=Output from $1
index_return=system logs viewer index_return=system logs
index_view=View.. index_view=View..
index_viewfile=View log file: index_viewfile=View log file:
index_viewok=View index_viewok=View

View File

@@ -1,7 +1,7 @@
name=logviewer name=logviewer
category=system category=system
os_support=*-linux os_support=*-linux
desc=System Logs Viewer desc=System Logs
depends=proc depends=proc
longdesc=View and search all logs available on system longdesc=View and search all logs available on system
readonly=1 readonly=1

View File

@@ -9,7 +9,10 @@ $ver = &get_syslog_ng_version();
my $index_econf2; my $index_econf2;
if (&has_command('systemctl')) { if (&has_command('systemctl')) {
if (&foreign_available('logviewer')) { if (&foreign_available('logviewer')) {
$index_econf2 = &text('index_econf2', "System Logs Viewer", "@{[&get_webprefix()]}/logviewer") . "<p><br>"; my %logviewer_text = &load_language('logviewer');
$index_econf2 = &text('index_econf2',
$logviewer_text{'index_title'},
"@{[&get_webprefix()]}/logviewer") . "<p><br>";
} }
} }
if (!$ver) { if (!$ver) {

View File

@@ -26,7 +26,10 @@ if (!-r $config{'syslog_conf'}) {
my $index_econf2; my $index_econf2;
if (&has_command('systemctl')) { if (&has_command('systemctl')) {
if (&foreign_available('logviewer')) { if (&foreign_available('logviewer')) {
$index_econf2 = &text('index_econf2', "System Logs Viewer", "@{[&get_webprefix()]}/logviewer") . "<p><br>"; my %logviewer_text = &load_language('logviewer');
$index_econf2 = &text('index_econf2',
$logviewer_text{'index_title'},
"@{[&get_webprefix()]}/logviewer") . "<p><br>";
} }
} }
# Not installed (maybe using syslog-ng) # Not installed (maybe using syslog-ng)

View File

@@ -1,4 +1,4 @@
index_title=System Logs index_title=System Logs RS
index_m4msg=Your system log configuration file $1 appears to contain <tt>m4</tt> directives. Before it can be edited, Webmin needs to pass the file through <tt>m4</tt> to safely remove these directives. index_m4msg=Your system log configuration file $1 appears to contain <tt>m4</tt> directives. Before it can be edited, Webmin needs to pass the file through <tt>m4</tt> to safely remove these directives.
index_m4=Remove m4 directives from config file index_m4=Remove m4 directives from config file
index_econf=The syslog configuration file $1 was not found on your system. Maybe syslog is not installed, or a newer version like syslog-ng is in use, or the <a href='$2'>module configuration</a> is incorrect. index_econf=The syslog configuration file $1 was not found on your system. Maybe syslog is not installed, or a newer version like syslog-ng is in use, or the <a href='$2'>module configuration</a> is incorrect.
@@ -16,7 +16,7 @@ index_cmd=Output from $1
index_all=All users index_all=All users
index_users=Users $1 index_users=Users $1
index_add=Add a new system log. index_add=Add a new system log.
index_return=system logs index_return=module index
index_restart=Apply Changes index_restart=Apply Changes
index_restartmsg=Click this button to make the current configuration active by killing the running <tt>syslog</tt> process and restarting it. index_restartmsg=Click this button to make the current configuration active by killing the running <tt>syslog</tt> process and restarting it.
index_start=Start Syslog Server index_start=Start Syslog Server

View File

@@ -1,7 +1,7 @@
name=Syslog name=Syslog
category=system category=system
os_support=solaris *-linux freebsd openbsd macos hpux irix unixware aix netbsd openserver os_support=solaris *-linux freebsd openbsd macos hpux irix unixware aix netbsd openserver
desc=System Logs desc=System Logs RS
depends=proc depends=proc
longdesc=Configure the syslog server on your system and view its log files. longdesc=Configure the syslog server on your system and view its log files.
readonly=1 readonly=1