Warnings from Mocha / Memento getlogger addhandler


#1

Using compiled Julia 0.6: I’m puzzled by the warnings I am getting from Mocha via Memento logging which seem to indicate that functions get_logger and add_handler are deprecated in favour of getlogger and addhandler. However in Memento deprecated.jl there is only a mention of get_logger deprecated but no replacement function. Is this coming from another package? Everything seems to run fine, so just a question of interest, perhaps whether I should be reporting this as an issue?


#2

you should fix the warnings by replacing get_logger & add_handler with getlogger & addhandler respectively at corresponding lines in Mocha and submit a PR.


#3

Thanks for this, I could certainly replace the getlogger and a couple of other warnings but this leaves the remove_handler where it is not clear what that is replaced with.