@Test
void appName() {

    assertThat(LogManager.appName(Map.of("CORE_APP_NAME", "test"))).isEqualTo("test");
    assertThat(LogManager.appName(Map.of())).isEqualTo("local");
    System.setProperty("core.appName", "test");
    assertThat(LogManager.appName(Map.of())).isEqualTo("test");
    System.clearProperty("core.appName");
}