logger: multifiles
Logger: multifile: fixing of bugs + optimization