Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files


  • Loading branch information...
commit 6e70090a23fcc97a892bf4a451f92ebcbb870271 1 parent c61a72e
@Vagabond Vagabond authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/lager_file_writer.erl
2  src/lager_file_writer.erl
@@ -106,7 +106,7 @@ write(Msg, Timestamp, Sync, #state{file=Name, fd=FD, inode=Inode, size=RotSize,
{ok, {_, _, Size}} when RotSize /= 0, Size > RotSize ->
lager_util:rotate_logfile(Name, Count),
%% go around the loop again, we'll do another rotation check and hit the next clause here
- write(Msg, Sync, State);
+ write(Msg, Timestamp, Sync, State);
{ok, {NewFD, NewInode, _}} ->
%% update our last check and try again
do_write(Msg, Sync, State#state{last_check=Timestamp, fd=NewFD, inode=NewInode});
Please sign in to comment.
Something went wrong with that request. Please try again.