Adder EnvoyLog#attach(String) method to log specific packages

This commit is contained in:
2020-02-18 08:14:04 +01:00
parent 5f9ebd4c43
commit c692fe25ff
2 changed files with 21 additions and 9 deletions

View File

@ -68,7 +68,8 @@ public class Startup {
System.exit(1);
}
// Set new logger levels loaded from config
// Setup logger for the envoy package
EnvoyLog.attach("envoy");
EnvoyLog.setFileLevelBarrier(config.getFileLevelBarrier());
EnvoyLog.setConsoleLevelBarrier(config.getConsoleLevelBarrier());