From: opensides Date: Fri, 4 Sep 2009 23:17:32 +0000 (+0000) Subject: - Changed log line to make it more clear (Closes #631) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=153b85104d6ea59d20c543d2f77a5fddedfdf515;p=gosa.git - Changed log line to make it more clear (Closes #631) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14218 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index 9afa2cabb..7e38a2083 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -1289,10 +1289,10 @@ if( defined $server_check ) { } } if (0 == @tmp_servers) { - my $log_string = "no gosa-si-server found!"; - $log_string .= "\n\tdetermined domains out of /etc/resolv.conf: ".join(", ", @domain_list) if (@domain_list); - $log_string .= "\n\tdetermined server addresses in domains: ".join(", ",@$tmp_domains) if (defined($tmp_domains)); - daemon_log("ERROR: $log_string", 1) if (defined($log_string)); + my $log_string = "no gosa-si-server found in DNS for domain: ".join(", ", @domain_list) if (@domain_list); + my $log_string2 = "server addresses in domain: ".join(", ",@$tmp_domains) if (defined($tmp_domains)); + daemon_log("ERROR: $log_string", 1) if (defined($log_string)); + daemon_log("ERROR: $log_string2", 1) if (defined($log_string2)); daemon_log("ERROR: $error_string", 1) if (defined($error_string)); daemon_log("ERROR: please specify a gosa-si-server address or a domain in config file", 1); kill 2, $$;