# \#logging

**URL:** https://community.jenkins.io/tag/logging/32.md

[Latest](https://community.jenkins.io/latest.md) · [Categories](https://community.jenkins.io/categories.md) · [Tags](https://community.jenkins.io/tags.md)

---

## [Jenkins Build Log Retention](https://community.jenkins.io/t/jenkins-build-log-retention/20197)

<div class="topic-metadata">

**Author:** [@AlphaAuditor](https://community.jenkins.io/u/AlphaAuditor)\
**Replies:** 2\
**Last updated:** [September 26, 2024, 10:56pm UTC](https://community.jenkins.io/t/jenkins-build-log-retention/20197 "2024-09-26T22:56:09Z")

</div>

Being an Auditor when we ask the Deployement Team to produce the logs for each deployement event , however they didnt retained the logs for more than 30 builds which is a default setting in General Tab with Log Rotation …

---

## [Hide Jenkins git informations appearing in jenkins job status](https://community.jenkins.io/t/hide-jenkins-git-informations-appearing-in-jenkins-job-status/18829)

<div class="topic-metadata">

**Author:** [@ElMaestro](https://community.jenkins.io/u/ElMaestro)\
**Replies:** 1\
**Last updated:** [August 30, 2024, 5:14pm UTC](https://community.jenkins.io/t/hide-jenkins-git-informations-appearing-in-jenkins-job-status/18829 "2024-08-30T17:14:38Z")

</div>

Jenkins setup: Hello, Currently, I use Jenkins in version 2.4 At the end of my jenkins jobs, I can see git data in Jenkins Job status. I would like to hide it. My job is configure with one GitHub repositorybut insid…

---

## [Is there a way to get pipeline logs with stage names pre-pend to it?](https://community.jenkins.io/t/is-there-a-way-to-get-pipeline-logs-with-stage-names-pre-pend-to-it/14824)

<div class="topic-metadata">

**Author:** [@tabletenniser](https://community.jenkins.io/u/tabletenniser)\
**Replies:** 5\
**Last updated:** [May 7, 2024, 5:23pm UTC](https://community.jenkins.io/t/is-there-a-way-to-get-pipeline-logs-with-stage-names-pre-pend-to-it/14824 "2024-05-07T17:23:45Z")

</div>

Hello, We did a recent upgrade from Jenkins version 2.107.3 to Jenkins version 2.440.3 and got a lot of benefits! However, one major drawback we saw was we now lose the stage name pre-pended to our logs from the “\<JENKI…

---

## [Scripting log extraction from parallel stages](https://community.jenkins.io/t/scripting-log-extraction-from-parallel-stages/7763)

<div class="topic-metadata">

**Author:** [@pfuntner](https://community.jenkins.io/u/pfuntner)\
**Replies:** 4\
**Last updated:** [December 12, 2023, 7:17am UTC](https://community.jenkins.io/t/scripting-log-extraction-from-parallel-stages/7763 "2023-12-12T07:17:11Z")

</div>

My team has some jobs that run multiple parallel stages and I want to extract the output from each stage in a logical way. I know I could download all of the output from the job in one log file but the stages are all in…

---

## [Send full buildLog in post step](https://community.jenkins.io/t/send-full-buildlog-in-post-step/11179)

<div class="topic-metadata">

**Author:** [@cheerbuzz](https://community.jenkins.io/u/cheerbuzz)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 8:57am UTC](https://community.jenkins.io/t/send-full-buildlog-in-post-step/11179 "2023-12-11T08:57:01Z")

</div>

So i want to send a Notificaton with the build log attached in the post step of a pipeline but sadly the output of the buildLog only goes as far as my function call is. retrieve (currentBuild.rawBuild.logFile.text) → se…

---

## [Build logs to container logs](https://community.jenkins.io/t/build-logs-to-container-logs/6556)

<div class="topic-metadata">

**Author:** [@umbertix](https://community.jenkins.io/u/umbertix)\
**Replies:** 0\
**Last updated:** [March 30, 2023, 9:26am UTC](https://community.jenkins.io/t/build-logs-to-container-logs/6556 "2023-03-30T09:26:02Z")

</div>

Hi, We are using jenkins with the kubernetes agents, such that each job spins a new pod with all the containers that we need. This is working wonderfully and we don’t have problems. At this point I’m trying to get the …

---

## [AnsiColor plugin also works with \`sh\` steps](https://community.jenkins.io/t/ansicolor-plugin-also-works-with-sh-steps/4858)

<div class="topic-metadata">

**Author:** [@gabyx](https://community.jenkins.io/u/gabyx)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 6:00pm UTC](https://community.jenkins.io/t/ansicolor-plugin-also-works-with-sh-steps/4858 "2022-12-06T18:00:09Z")

</div>

Does the AnsiColor Plugin also work with sh steps inside Jenkins? I am currently not seeing that it works, maybe it only works with echo steps. Does anybody know?

---

## [How to find the status of a job that is in progress from the log files?](https://community.jenkins.io/t/how-to-find-the-status-of-a-job-that-is-in-progress-from-the-log-files/3676)

<div class="topic-metadata">

**Author:** [@mak](https://community.jenkins.io/u/mak)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 2:20pm UTC](https://community.jenkins.io/t/how-to-find-the-status-of-a-job-that-is-in-progress-from-the-log-files/3676 "2022-09-08T14:20:35Z")

</div>

I am able to find the jobs that are of success, failure and aborted status via the logs, typically the logs for such jobs are like { \[-\] build\_number: 1576 build\_url: job/bts/gjhgj/1576/ event\_tag: job\_event …

---

## [Good practices for logging on Jenkins master and agents?](https://community.jenkins.io/t/good-practices-for-logging-on-jenkins-master-and-agents/645)

<div class="topic-metadata">

**Author:** [@saper](https://community.jenkins.io/u/saper)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 2:08pm UTC](https://community.jenkins.io/t/good-practices-for-logging-on-jenkins-master-and-agents/645 "2021-10-23T14:08:27Z")

</div>

I have observed some weird behaviour when submitting parametrized pipeline job (buildWithParameters) and I would like to troubleshoot it further. I run Jenkins controller in a docker container with docker-compose and lo…
