# Log missing new line

**URL:** <https://discuss.gradle.org/t/log-missing-new-line/1299>\
**Category:** Old Forum Archive\
**Created:** [January 13, 2015, 7:27am UTC](https://discuss.gradle.org/t/log-missing-new-line/1299 "2015-01-13T07:27:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_Guillot](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/francois_guillot/32/8566_2.png) [@Francois\_Guillot](https://discuss.gradle.org/u/Francois_Guillot)\
**Post date:** [January 13, 2015, 7:27am UTC](https://discuss.gradle.org/t/log-missing-new-line/1299/1 "2015-01-13T07:27:00Z")

</div>

In some of my Jenkins jobs (using a custom Linux and Gradle 2.2.1) I get the following logs

05:00:11 :compileJava UP-TO-DATE 05:00:11 :processResources UP-TO-DATE 05:00:11 :classes UP-TO-DATE 05:00:11 :jar 05:00:11 :assemble 05:00:19 :compileTestJava/NOSAVE/CODEBUILDING/tc/BuildNodes/xxx/yyy.java:30: cannot find symbol 05:00:19 symbol : method yyy()

A newline is missing after compileTestJava. This is annoying because the real line (with xxx and yyy replaced) is very long and it messes the Jenkins log output page

This also happens with custom tasks, such as

09:31:17 :compileMySourceSetJava/NOSAVE/CODEBUILDING/tc/BuildNodes/xxx/yyy.java:42: warning: unmappable character for encoding ASCII

---

<div class="post-metadata">

**Author:** ![Rene](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/rene/32/8082_2.png) [@Rene](https://discuss.gradle.org/u/Rene)\
**Post date:** [January 13, 2015, 10:05am UTC](https://discuss.gradle.org/t/log-missing-new-line/1299/2 "2015-01-13T10:05:00Z")

</div>

one workaround might be to add the following snippet to your build:

```
    tasks.withType(JavaCompile) {
        doFirst { println “\n” }
    }
```
