Browse Source

journal should log only failures

Maxim Sokhatsky 11 years ago
parent
commit
d010ec276c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/server/src/sup/game_log.erl

+ 1 - 1
apps/server/src/sup/game_log.erl

@@ -54,7 +54,7 @@ handle_cast({protocol_event, UserId,
            event = EventName,
            game_event = Event},
 
-    gas:info(?MODULE, "Event Log: ~p", [EventLogEntry]),
+%    gas:info(?MODULE, "Event Log: ~p", [EventLogEntry]),
     try kvs:add(EventLogEntry) catch E:R -> gas:info(?MODULE,"kvs:add ERROR ~n ~p",[{E,R}]) end,
     update_container_stats(UserId, EventLogEntry,#protocol_event.event,GameState),