log4j LogManager.getLogger get's stuck in an infinite loop
问题 For some strange reason, I have a line of code that is getting stuck in an infinite loop. This is the line: this.logger = LogManager.getLogger(getClass().getName()); A little context might be helpful: I have a machine that stores all the code and java .class files. I access this machine through sshfs and work directly on the .java files through Eclipse. If I login in the remote machine and execute my class, the code runs: $ ssh remote-machine $ cd /path/to/eclipse-project $ export CLASSPATH="