# Store the console/error log of the Processing IDE

**URL:** <https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918>\
**Category:** Project Guidance\
**Created:** [March 24, 2022, 11:04am UTC](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918 "2022-03-24T11:04:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![plantagenet](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@plantagenet](https://discourse.processing.org/u/plantagenet)\
**Post date:** [March 24, 2022, 11:04am UTC](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918/1 "2022-03-24T11:04:53Z")

</div>

I am trying to store the console to store errors when they occur in processing ide. I am making a custom library and using eclipse to make it. I was trying to use print streams to and store errors messages in them. Which works in eclipse but not in processing.

Is there a way in processing to store errors messages/console log?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [March 24, 2022, 11:17am UTC](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918/2 "2022-03-24T11:17:40Z")

</div>

Hello,

I see error messages logged here:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c67f1cc6e2aed8abff1a400a293812a4d7012ad8.png)

Folder:

_C:\Users\YourUserName\AppData\Roaming\Processing\console_

And added a shortcut to this folder on my desktop.

Example:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/854710e6ea837048f1f552f904aabeabf2ec767a.png)

Error log:

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c74dd8ad74dc0fcdc458d0270000ed23f3d623be.png)

The _Preferences_ for the IDE (click down at the bottom) take you directly to the folder that has the _Console_ logs:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f504ecb5168e737c992d6d6f69b9bf1fb982faea.png)

You could explore the Processing source code to see how this is done.  
I will leave that adventure with you.  
Please share when you find it.

`:)`

---

<div class="post-metadata">

**Author:** ![Ov3rM1nD](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ov3rm1nd/32/1756_2.png) [@Ov3rM1nD](https://discourse.processing.org/u/Ov3rM1nD)\
**Post date:** [March 24, 2022, 3:28pm UTC](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918/3 "2022-03-24T15:28:24Z")

</div>

I would like to add that to get complete debug information in the log files you need to create a file with no extension and no content called ‘debug’, in the same folder mentioned by @glv. This causes debug messages to be displayed in real time on the PDE console and these will also end up in the log files, both error and output logs. This can be useful for developers of libraries, tools or modes.

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/b5af1096aed9ba0704db89947702e729b2135008.png)

Output log:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f7c037e4e01677a9b49c3cb7eb43179b0b45d613.png)

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [March 24, 2022, 4:39pm UTC](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918/4 "2022-03-24T16:39:41Z")

</div>

You can just append your messages to a String Array and save it to your Hard Drive
