Interface FileWritingBuildLogger
- All Superinterfaces:
BuildLogger
,BuildLoggerWithoutLogAccess
- All Known Implementing Classes:
BuildLoggerImpl
Build logger that writes to a file.
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
addRemoteBuildLogEntry
(@NotNull LogEntry entry, boolean needToPersistOnTarget, boolean addedAfterLogSpoolClosed) @NotNull String
addRemoteErrorLogEntry
(@NotNull LogEntry entry, boolean needToPersistOnTarget, boolean addedAfterLogSpoolClosed) void
handleRemoteLogFile
(@NotNull File logFile, @NotNull File remoteLogFile) Replace underlying log file with the remote log.Methods inherited from interface com.atlassian.bamboo.build.logger.BuildLogger
getLastNLogEntries, getLogEntryCount
Methods inherited from interface com.atlassian.bamboo.build.logger.BuildLoggerWithoutLogAccess
addBuildLogEntry, addBuildLogEntry, addErrorLogEntry, addErrorLogEntry, addErrorLogEntry, close, getInterceptorStack, getMutatorStack, getTimeOfLastLog, isPersistent, setTimeOfLastLog, stopStreamingBuildLogs, transfersLogsAsArtifact
-
Method Details
-
addRemoteBuildLogEntry
-
addRemoteErrorLogEntry
-
handleRemoteLogFile
void handleRemoteLogFile(@NotNull @NotNull File logFile, @NotNull @NotNull File remoteLogFile) throws IOException Replace underlying log file with the remote log. If not possible, then append. Stop accepting live logs from remote agent.- Throws:
IOException
-