Commit 0b9903cec42e39a5564ada15f33057705c43e4f3:
    Standardise host location at start


Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>

------------------------------------------------------------
lib/whimsy/asf/ldap.rb                                       | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------


diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 8d35383..176e9b6 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -82,7 +82,7 @@ def self.connect(test = true)
         hosts.each {|host| HOST_QUEUE.push host} if HOST_QUEUE.empty?
         host = HOST_QUEUE.shift
 
-        Wunderbar.info "Connecting to LDAP server: #{host}"
+        Wunderbar.info "[#{host}] - Connecting to LDAP server"
 
         begin
           # request connection
@@ -101,7 +101,7 @@ def self.connect(test = true)
 
           return ldap
         rescue ::LDAP::ResultError => re
-          Wunderbar.warn "Error connecting to LDAP server #{host}: " +
+          Wunderbar.warn "[#{host}] - Error connecting to LDAP server: " +
             re.message + " (continuing)"
         end
 

Reply via email to