Commit e80ba025aaa082b622053d3683a00a5c57f22d6f

Authored by David RENÉ
1 parent edd75844

[*] update the log when writing. Now add the table_name and which operation was …

…made 'create' or 'update'
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/web_controller/hayamiki.anubis
... ... @@ -663,7 +663,7 @@ define (WEB_Session) -> WEB_Controller_Result
663 663 forget(map((HK_Trigger trigger) |-> logger(logInfo, "call trigger after update "+trigger.trigger_name+" ON table "+table_name); trigger.trigger_call_back(db, _session), *controller.triggers.after_update))
664 664 };
665 665  
666   - logger(logInfo, "write OK");
  666 + logger(logInfo, "write OK on table '"+table_name+"' operation {"+if op_type is { create then "create", update then "update"}+"}");
667 667 if sub_dialog then
668 668 ajax(json(http_ok, json_object([json_member("success", json_bool(true)), json_member("idx", json_int(inserted_idx))])))
669 669 else
... ...