Skip to content

Application log is not captured in onlyCapture mode! #27

@UK-Sparkles

Description

@UK-Sparkles

Hi Team,

We triggered the yc-360 script with onlyCapture mode by passing the app log path in yaml file inorder to capture application log. When we trigger the yc-360 Script, the app log is not captured.

We have passed the app log path in yaml file as follows:

appLogs: 
    - D:\tier1appdevelopment\log20251104.txt

We have triggered onlyCapture mode by executing the following command:
go run main.go -onlyCapture -p <pid> -c config.yaml

NOTE: When we pass the "$App_Name" as follows, then application log gets captured.
And we have passed "$App_Name" along with the app log path to indicate that this log file is specific to the application named "yc".

appLogs: 
    - D:\tier1appdevelopment\log20251104.txt$yc
Image

When we pass the "$App_Name", then application log gets captured:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions