# Logging Mechanisms

**URL:** <https://forum.servoy.com/t/logging-mechanisms/10561>\
**Category:** Classic Servoy\
**Created:** [April 21, 2009, 12:30am UTC](https://forum.servoy.com/t/logging-mechanisms/10561 "2009-04-21T00:30:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliaaano](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@juliaaano](https://forum.servoy.com/u/juliaaano)\
**Post date:** [April 21, 2009, 12:30am UTC](https://forum.servoy.com/t/logging-mechanisms/10561/1 "2009-04-21T00:30:37Z")

</div>

Hello,

I couldn’t find documentation regarding logging strategies and mechanisms for Servoy. For instance, is it possible to log errors and other interactions in a specified log file?

Thank you.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [April 21, 2009, 7:23am UTC](https://forum.servoy.com/t/logging-mechanisms/10561/2 "2009-04-21T07:23:44Z")

</div>

Logging is based on log4j. This is a nice starting point: [http://en.wikipedia.org/wiki/Log4J](http://en.wikipedia.org/wiki/Log4J)

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [April 21, 2009, 7:54am UTC](https://forum.servoy.com/t/logging-mechanisms/10561/3 "2009-04-21T07:54:39Z")

</div>

If you want to use logging in your own code (methods), you could have a look at [our free Log plugin](http://www.servoy-plugins.de).

---

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [April 21, 2009, 3:16pm UTC](https://forum.servoy.com/t/logging-mechanisms/10561/4 "2009-04-21T15:16:46Z")

</div>

I’m using this plugin and that works really fine. And it is very easy to use:

```auto
plugins.Log.error('Some error message')
plugins.Log.warn('Some warning')

etc

```

---

<div class="post-metadata">

**Author:** ![juliaaano](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@juliaaano](https://forum.servoy.com/u/juliaaano)\
**Post date:** [April 21, 2009, 11:49pm UTC](https://forum.servoy.com/t/logging-mechanisms/10561/5 "2009-04-21T23:49:53Z")

</div>

Amazing! Exactly what I was looking for.

Thank you.
