# Custom logging

**URL:** <https://www.ruby-forum.com/t/custom-logging/115148>\
**Category:** Rails\
**Created:** [September 21, 2007, 1:45am UTC](https://www.ruby-forum.com/t/custom-logging/115148 "2007-09-21T01:45:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [September 21, 2007, 1:45am UTC](https://www.ruby-forum.com/t/custom-logging/115148/1 "2007-09-21T01:45:08Z")

</div>

Hello,

I’m trying to create a custom logger for specific parts of my  
application. I created a logger in one on my classes is the lib  
directory and it works great for that class, but I would also like  
other parts of my applilcation to write to the same log. Where/how  
would I create the logger?

Thanks
