Divide local and remote logger