add new log
This commit is contained in:
parent
1a49c4628b
commit
3e2886df86
17506
apps/iot/priv/2024-01-18-log.txt
Normal file
17506
apps/iot/priv/2024-01-18-log.txt
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -77,7 +77,7 @@ export0(Fields0 = #{<<"device_uuid">> := DeviceUUID, <<"timestamp">> := Timestam
|
||||
end.
|
||||
|
||||
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),
|
||||
binary:split(Content, <<$\n>>, [global, trim]).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user