Changed the handling of logmasks. Now the configuration is always queried and the source is respected