Skip to content

Commit 7809a34

Browse files
committed
#63: removed Logger.info code
1 parent ce83c50 commit 7809a34

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/mongo/session.ex

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ defmodule Mongo.Session do
9999
import Keywords
100100
import Mongo.WriteConcern
101101

102-
require Logger
103-
104102
alias BSON.Timestamp
105103
alias Mongo.Error
106104
alias Mongo.ReadPreference
@@ -173,8 +171,6 @@ defmodule Mongo.Session do
173171
{:ok, session}
174172
else
175173
:new_connection ->
176-
## todo Logger.info("New connection while checkout session")
177-
## :timer.sleep(1000)
178174
start_implicit_session(topology_pid, type, opts)
179175
{:error, error} -> {:error, error}
180176
other -> {:error, Mongo.Error.exception("Unknow result #{inspect other} while calling Topology.checkout_session/4")}
@@ -187,7 +183,6 @@ defmodule Mongo.Session do
187183
call(pid, :mark_server_unknown)
188184
end
189185
def select_server(pid, opts) do
190-
Logger.info("Select server")
191186
call(pid, {:select_server, opts})
192187
end
193188

0 commit comments

Comments
 (0)