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:
parent
25f41e6aac
commit
f984e91dd6
@ -44,6 +44,7 @@ groups = merge(groups334, groups344, groups444)
|
|||||||
let GROUP = ARGS[1]
|
let GROUP = ARGS[1]
|
||||||
@assert haskey(groups, GROUP)
|
@assert haskey(groups, GROUP)
|
||||||
group_name = "log/$(GROUP)_r$(HALFRADIUS)"
|
group_name = "log/$(GROUP)_r$(HALFRADIUS)"
|
||||||
|
mkpath(group_name)
|
||||||
open(joinpath(group_name, "full.log"), "a+") do logfile
|
open(joinpath(group_name, "full.log"), "a+") do logfile
|
||||||
logger = SimpleLogger(logfile)
|
logger = SimpleLogger(logfile)
|
||||||
global_logger(logger)
|
global_logger(logger)
|
||||||
|
Loading…
Reference in New Issue
Block a user