add new log

This commit is contained in:
anlicheng 2024-01-19 22:44:23 +08:00
parent 1a49c4628b
commit 3e2886df86
3 changed files with 17507 additions and 76408 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -77,7 +77,7 @@ export0(Fields0 = #{<<"device_uuid">> := DeviceUUID, <<"timestamp">> := Timestam
end. end.
parse_json_file() -> parse_json_file() ->
File = code:priv_dir(iot) ++ "/global.log-2024-01-12.log", File = code:priv_dir(iot) ++ "/2024-01-18-log.txt",
{ok, Content} = file:read_file(File), {ok, Content} = file:read_file(File),
binary:split(Content, <<$\n>>, [global, trim]). binary:split(Content, <<$\n>>, [global, trim]).