fix anyserver with logging and/or profiler
Merge pull request #191 from niphlod/fix/anyserver

fix anyserver with logging and/or profiler