1
0
mirror of https://github.com/kalmarek/SmallHyperbolic synced 2024-11-27 16:35:26 +01:00

create path before logfile

This commit is contained in:
kalmarek 2020-01-20 02:23:27 +01:00
parent 25f41e6aac
commit f984e91dd6

View File

@ -44,6 +44,7 @@ groups = merge(groups334, groups344, groups444)
let GROUP = ARGS[1]
@assert haskey(groups, GROUP)
group_name = "log/$(GROUP)_r$(HALFRADIUS)"
mkpath(group_name)
open(joinpath(group_name, "full.log"), "a+") do logfile
logger = SimpleLogger(logfile)
global_logger(logger)