mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-02 20:28:40 +08:00
rm log
This commit is contained in:
parent
1aefc33bf9
commit
db4154ffc4
@ -375,8 +375,7 @@
|
||||
"Rule"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
"/provider": {
|
||||
"get": {
|
||||
"summary": "获取acl编辑器提示语",
|
||||
|
@ -135,7 +135,7 @@ save(Product) ->
|
||||
Product1 = format_product(Product),
|
||||
#{<<"productId">> := ProductId} = Product1,
|
||||
dgiot_data:insert(?MODULE, ProductId, Product1),
|
||||
?LOG(info,"update product ~p", [Product1]),
|
||||
?LOG(debug,"product ~p", [Product1]),
|
||||
{ok, Product1}.
|
||||
|
||||
local(ProductId) ->
|
||||
@ -226,7 +226,7 @@ load_device(#{<<"productId">> := ProductId} = Product, [Device | Devices]) ->
|
||||
{ok, Pid} ->
|
||||
?LOG(debug,"ProductId:~p, DevAddr:~p -> ~p", [ProductId, Device, Pid]);
|
||||
{error, Reason} ->
|
||||
?LOG(error,"ProductId:~p, DevAddr:~p -> ~p", [ProductId, Device, Reason])
|
||||
?LOG(debug,"ProductId:~p, DevAddr:~p -> ~p", [ProductId, Device, Reason])
|
||||
end,
|
||||
load_device(Product, Devices).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user