@Test public void shouldWriteLogLocationToNexusLog() { taskLogOnlyTaskLogger.writeLogFileNameToNexusLog(); verify(log).info(eq(NEXUS_LOG_ONLY), startsWith(TASK_LOG_LOCATION_PREFIX)); assertThat(MDC.get(TASK_LOG_ONLY_MDC), equalTo("true")); }
@Override protected void writeLogFileNameToNexusLog() { MDC.remove(TASK_LOG_ONLY_MDC); super.writeLogFileNameToNexusLog(); MDC.put(TASK_LOG_ONLY_MDC, "true"); }
TaskLogOnlyTaskLogger extends SeparateTaskLogTaskLogger { @Override protected void writeLogFileNameToNexusLog() { MDC.remove(TASK_LOG_ONLY_MDC); super.writeLogFileNameToNexusLog(); MDC.put(TASK_LOG_ONLY_MDC, "true"); } }
TaskLogOnlyTaskLogger extends SeparateTaskLogTaskLogger { @Override protected void writeLogFileNameToNexusLog() { MDC.remove(TASK_LOG_ONLY_MDC); super.writeLogFileNameToNexusLog(); MDC.put(TASK_LOG_ONLY_MDC, "true"); } TaskLogOnlyTaskLogger(final Logger log, final TaskLogInfo taskLogInfo); }
TaskLogOnlyTaskLogger extends SeparateTaskLogTaskLogger { @Override protected void writeLogFileNameToNexusLog() { MDC.remove(TASK_LOG_ONLY_MDC); super.writeLogFileNameToNexusLog(); MDC.put(TASK_LOG_ONLY_MDC, "true"); } TaskLogOnlyTaskLogger(final Logger log, final TaskLogInfo taskLogInfo);  }
TaskLogOnlyTaskLogger extends SeparateTaskLogTaskLogger { @Override protected void writeLogFileNameToNexusLog() { MDC.remove(TASK_LOG_ONLY_MDC); super.writeLogFileNameToNexusLog(); MDC.put(TASK_LOG_ONLY_MDC, "true"); } TaskLogOnlyTaskLogger(final Logger log, final TaskLogInfo taskLogInfo);   }