Interface AgentLogManager

All Known Implementing Classes:
AgentLogManagerLog4j2Impl

public interface AgentLogManager
Utility to locate and relocate agent log file.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current location of the agent log file.
    void
    relocateLogFile(Path destinationPath)
    Attempt to relocate the agent log file inside the job directory.
  • Method Details

    • getLogFilePath

      Path getLogFilePath()
      Get the current location of the agent log file.
      Returns:
      a path string
    • relocateLogFile

      void relocateLogFile(Path destinationPath) throws IOException
      Attempt to relocate the agent log file inside the job directory.
      Parameters:
      destinationPath - the destination path
      Throws:
      IOException - if relocation fails