# File lib/puppet/util/log.rb, line 173 173: def Log.reopen 174: Puppet.notice "Reopening log files" 175: types = @destinations.keys 176: @destinations.each { |type, dest| 177: dest.close if dest.respond_to?(:close) 178: } 179: @destinations.clear 180: # We need to make sure we always end up with some kind of destination 181: begin 182: types.each { |type| 183: Log.newdestination(type) 184: } 185: rescue => detail 186: if @destinations.empty? 187: Log.newdestination(:syslog) 188: Puppet.err detail.to_s 189: end 190: end 191: end