log: add directory where logs will be kept

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
log: add support for writing logs to file

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>