core: log: add random part to genrated log file name to avoid predictable name

Change-Id: Ib9ed70d1385a0d4a7ac5709123cd5b09ea1f8c83
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>