2 # Functions for parsing this module's logs
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) = @_;
11 if ($type eq 'stunnel') {
12 return &text("log_$action", "<tt>".&html_escape($object)."</tt>");
14 elsif ($type eq 'stunnels') {
15 return &text("log_${action}_stunnels", $object);
18 return $text{"log_$action"};