ソースを参照

Merge pull request #151 from basho/adt-disable-date-rotation

Can't disable periodic file rotation
pull/154/head
Andrew Thompson 12年前
コミット
316c595e37
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/lager_file_backend.erl

+ 1
- 1
src/lager_file_backend.erl ファイルの表示

@ -296,7 +296,7 @@ validate_logfile_proplist([{date, Date}|Tail], Acc) ->
validate_logfile_proplist(Tail, [{date, Spec}|Acc]);
{error, _} when Date == "" ->
%% legacy config allowed blanks
validate_logfile_proplist(Tail, Acc);
validate_logfile_proplist(Tail, [{date, undefined}|Acc]);
{error, _} ->
throw({bad_config, "Invalid rotation date", Date})
end;

読み込み中…
キャンセル
保存