1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-27 01:10:28 +01:00

don't redirect errors to full_log

This commit is contained in:
kalmar 2017-07-05 13:23:54 +02:00
parent 8810836fab
commit 94607bfaac

View File

@ -147,10 +147,9 @@ function setup_logging(name::String)
Memento.add_handler(logger, Memento.add_handler(logger,
Memento.DefaultHandler(joinpath(name,"full_$(string((now()))).log"), Memento.DefaultHandler(joinpath(name,"full_$(string((now()))).log"),
Memento.DefaultFormatter("{date}| {msg}")), Memento.DefaultFormatter("{date}| {msg}")), "full_log")
"full_log")
e = redirect_stderr(logger.handlers["full_log"].io) # e = redirect_stderr(logger.handlers["full_log"].io)
return logger return logger
end end