Fix cid propagation into files.log

Changes to the connection id were not propagated to files.log in all
cases.

Fixes GH-3700
This commit is contained in:
Johanna Amann 2024-04-29 14:13:19 +01:00
parent 07c84fddbc
commit 2217eab38a

View file

@ -603,7 +603,7 @@ event file_state_remove(f: fa_file) &priority=-10
# by reference in Log::write() rather than by copy.
local info = |f$conns| > 1 ? copy(f$info) : f$info;
info$uid = c$uid;
info$id = cid;
info$id = c$id;
Log::write(Files::LOG, info);
}
}