# How to change print interval in console

**URL:** <https://community.gatling.io/t/how-to-change-print-interval-in-console/6333>\
**Category:** Gatling (Open-Source)\
**Created:** [December 1, 2021, 8:08pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333 "2021-12-01T20:08:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maithrie\_Vaidyanatha](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Maithrie\_Vaidyanatha](https://community.gatling.io/u/Maithrie_Vaidyanatha)\
**Post date:** [December 1, 2021, 8:08pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/1 "2021-12-01T20:08:18Z")

</div>

Hi Team,

I am executing gatling tests from gitlab and the console gets updated every 5 seconds with the test summary. Is there any configuration I could change/add in gatling.conf or any other way to make these summary print happen only every 20 seconds?

Appreciate your help, thank you !

Regards,  
Maithrie

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [December 1, 2021, 8:10pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/2 "2021-12-01T20:10:07Z")

</div>

[https://github.com/gatling/gatling/blob/main/gatling-core/src/main/resources/gatling-defaults.conf#L109](https://github.com/gatling/gatling/blob/main/gatling-core/src/main/resources/gatling-defaults.conf#L109)

---

<div class="post-metadata">

**Author:** ![Maithrie\_Vaidyanatha](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Maithrie\_Vaidyanatha](https://community.gatling.io/u/Maithrie_Vaidyanatha)\
**Post date:** [December 1, 2021, 8:11pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/3 "2021-12-01T20:11:54Z")

</div>

I tried this one but it did not help. Hence I assumed its for graphite data writers and not for the console prints.

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [December 1, 2021, 8:33pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/4 "2021-12-01T20:33:39Z")

</div>

Are you sure you’ve removed the leading # to uncomment?  
It works fine for me.

---

<div class="post-metadata">

**Author:** ![Maithrie\_Vaidyanatha](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Maithrie\_Vaidyanatha](https://community.gatling.io/u/Maithrie_Vaidyanatha)\
**Post date:** [December 1, 2021, 8:36pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/5 "2021-12-01T20:36:35Z")

</div>

This is what I have :

data {  
writers = [console] # The list of DataWriters to which Gatling write simulation data (currently supported : console, file, graphite)  
console {  
light = true # When set to true, displays a light version without detailed request stats  
writePeriod = 20 # Write interval, in seconds  
}

Am I doing anything wrong in the above?

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [December 1, 2021, 10:08pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/6 "2021-12-01T22:08:04Z")

</div>

Your configuration seems correct. No idea what doesn’t work for you. Please make sure to use a modern version of Gatling.

---

<div class="post-metadata">

**Author:** ![Maithrie\_Vaidyanatha](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Maithrie\_Vaidyanatha](https://community.gatling.io/u/Maithrie_Vaidyanatha)\
**Post date:** [December 2, 2021, 2:00pm UTC](https://community.gatling.io/t/how-to-change-print-interval-in-console/6333/7 "2021-12-02T14:00:12Z")

</div>

It works in IDE but when I execute from gitlab as a maven project, for some reason these changes are not getting reflected. I am using gatling 3.5.1
