Log basement setting when creating files
This commit is contained in:
parent
8f0a096dd2
commit
dcf3afc056
2 changed files with 3 additions and 2 deletions
|
@ -149,7 +149,8 @@
|
|||
{"PC011",
|
||||
{info, "Merge completed with MSN=~w to Level=~w and FileCounter=~w"}},
|
||||
{"PC012",
|
||||
{info, "File to be created as part of MSN=~w Filename=~s"}},
|
||||
{info, "File to be created as part of MSN=~w Filename=~s "
|
||||
++ "IsBasement=~w"}},
|
||||
{"PC013",
|
||||
{warn, "Merge resulted in empty file ~s"}},
|
||||
{"PC015",
|
||||
|
|
|
@ -193,7 +193,7 @@ do_merge([], [], SinkLevel, _SinkB, _RP, NewSQN, _MaxSQN, Counter, Man0) ->
|
|||
do_merge(KL1, KL2, SinkLevel, SinkB, RP, NewSQN, MaxSQN, Counter, Man0) ->
|
||||
FileName = lists:flatten(io_lib:format(RP ++ "_~w_~w.sst",
|
||||
[SinkLevel, Counter])),
|
||||
leveled_log:log("PC012", [NewSQN, FileName]),
|
||||
leveled_log:log("PC012", [NewSQN, FileName, SinkB]),
|
||||
TS1 = os:timestamp(),
|
||||
case leveled_sst:sst_new(FileName, KL1, KL2, SinkB, SinkLevel, MaxSQN) of
|
||||
empty ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue