lib/rbbt/util/concurrency/processes/socket.rb in rbbt-util-5.21.47 vs lib/rbbt/util/concurrency/processes/socket.rb in rbbt-util-5.21.49
- old
+ new
@@ -11,18 +11,18 @@
@key = "/" << rand(1000000000).to_s << '.' << Process.pid.to_s;
@write_sem = @key + '.in'
@read_sem = @key + '.out'
- Log.medium "Creating socket semaphores: #{@key}"
+ Log.debug "Creating socket semaphores: #{@key}"
RbbtSemaphore.create_semaphore(@write_sem,1)
RbbtSemaphore.create_semaphore(@read_sem,1)
end
def clean
@sread.close unless @sread.closed?
@swrite.close unless @swrite.closed?
- Log.medium "Destroying socket semaphores: #{[@key] * ", "}"
+ Log.debug "Destroying socket semaphores: #{[@key] * ", "}"
RbbtSemaphore.delete_semaphore(@write_sem)
RbbtSemaphore.delete_semaphore(@read_sem)
end