redirect stderr to full_log

This commit is contained in:
kalmar 2017-08-03 11:34:38 +02:00
parent a6eed4cd11
commit a460b71db9
1 changed files with 1 additions and 1 deletions

View File

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