2 # Functions for parsing this module's logs
4 do 'cluster-shell-lib.pl';
6 # parse_webmin_log(user, script, action, type, object, ¶ms)
7 # Converts logged information from this module into human-readable form
10 local ($user, $script, $action, $type, $object, $p, $long) = @_;
11 if ($action eq 'clear') {
12 return $text{'log_clear'};
14 elsif ($action eq 'run') {
15 local @server = split(/\0/, $p->{'run'});
17 return &text('log_run_l', "<tt>$p->{'cmd'}</tt>",
18 join(", ", map { $_ ? "<tt>$_</tt>"
19 : $text{'index_this'} } @server));
22 return &text('log_run', "<tt>$p->{'cmd'}</tt>",