# Logging

**URL:** <https://discuss.elastic.co/t/logging/2809>\
**Category:** Elasticsearch\
**Created:** [February 13, 2010, 9:04pm UTC](https://discuss.elastic.co/t/logging/2809 "2010-02-13T21:04:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aemadrid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aemadrid/32/3185_2.png) [@aemadrid](https://discuss.elastic.co/u/aemadrid)\
**Post date:** [February 13, 2010, 9:04pm UTC](https://discuss.elastic.co/t/logging/2809/1 "2010-02-13T21:04:26Z")

</div>

For some reason on my OSX machine I don't see any logging to the  
screen like you did on the video. Any way I can send the logging to a  
file somewhere?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 13, 2010, 9:59pm UTC](https://discuss.elastic.co/t/logging/2809/2 "2010-02-13T21:59:24Z")

</div>

Its automatically logged to a file as well (check work/logs). Maybe you  
don't see it since you run elasticsearch using just the "elasticsearch"  
script which by default runs it in the background. If you run it with  
"elasticsearch -f" then it will run in the foreground.

Logging is explained here:  
[http://www.elasticsearch.com/docs/elasticsearch/setup/configuration/#Logging](http://www.elasticsearch.com/docs/elasticsearch/setup/configuration/#Logging)

-shay.banon

On Sat, Feb 13, 2010 at 11:04 PM, aemadrid [aemadrid@gmail.com](mailto:aemadrid@gmail.com) wrote:

> For some reason on my OSX machine I don't see any logging to the  
> screen like you did on the video. Any way I can send the logging to a  
> file somewhere?

---

<div class="post-metadata">

**Author:** ![aemadrid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aemadrid/32/3185_2.png) [@aemadrid](https://discuss.elastic.co/u/aemadrid)\
**Post date:** [February 14, 2010, 3:48am UTC](https://discuss.elastic.co/t/logging/2809/3 "2010-02-14T03:48:49Z")

</div>

Great to know. For some reason I was reading it the other way around. So  
much for payin atention 😉

Adrian Madrid  
My eBiz, Senior Developer  
3082 W. Maple Loop Dr  
Lehi, UT 84043  
801-341-3824

On Sat, Feb 13, 2010 at 14:59, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Its automatically logged to a file as well (check work/logs). Maybe you  
> don't see it since you run elasticsearch using just the "elasticsearch"  
> script which by default runs it in the background. If you run it with  
> "elasticsearch -f" then it will run in the foreground.
> 
> Logging is explained here:  
> [http://www.elasticsearch.com/docs/elasticsearch/setup/configuration/#Logging](http://www.elasticsearch.com/docs/elasticsearch/setup/configuration/#Logging)
> 
> -shay.banon
> 
> On Sat, Feb 13, 2010 at 11:04 PM, aemadrid [aemadrid@gmail.com](mailto:aemadrid@gmail.com) wrote:
> 
> > For some reason on my OSX machine I don't see any logging to the  
> > screen like you did on the video. Any way I can send the logging to a  
> > file somewhere?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:25am UTC](https://discuss.elastic.co/t/logging/2809/4 "2017-07-06T04:25:47Z")

</div>


