0

I have a situation when I have Jenkins log compiled from parallel stages creating an un readable log file. I am looking for a way to redirect stage log output to a file (per stage) so I can filter them easily and then import them to my elastic search.

desired outcome:

  1. having global Jenkins log file.
  2. having another log file per stage just with stage stdout.
1
  • 1
    #1 When you said having global Jenkins log file. what do you mean? Jenkins already have a file with all the log of all jobs of the instance. #2 Do you want just the log of your job in a file?
    – JRichardsz
    Oct 3 at 16:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.