# Nginx-error.log hardcoded?

**URL:** <https://www.ruby-forum.com/t/nginx-error-log-hardcoded/183962>\
**Category:** NGINX\
**Created:** [February 23, 2010, 5:01am UTC](https://www.ruby-forum.com/t/nginx-error-log-hardcoded/183962 "2010-02-23T05:01:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edho\_P\_Arief](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@Edho\_P\_Arief](https://www.ruby-forum.com/u/Edho_P_Arief)\
**Post date:** [February 23, 2010, 5:01am UTC](https://www.ruby-forum.com/t/nginx-error-log-hardcoded/183962/1 "2010-02-23T05:01:25Z")

</div>

I noticed despite having set error\_log /path/to/error.log, whenever I  
signal my nginx process either with “nginx -c /path/to/nginx.conf -s  
reload” or “kill -HUP \<pid\_of\_nginx\_master\>”, it writes log to error  
log file defined at compile time (in my system - freebsd - it’s at  
/var/log/nginx-error.log).

Is it not possible to change the path used?

–  
O\< ascii ribbon campaign - stop html mail - [www.asciiribbon.org](http://www.asciiribbon.org)
