graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05432
Re: [Question #263195]: How to config custom location for rendering/cache/info/exception logs
Question #263195 on Graphite changed:
https://answers.launchpad.net/graphite/+question/263195
Status: Answered => Open
Toni Moreno is still having a problem:
Could be interesting to add it as a new parameter in local_settings.py
In the meanwhile I've tested SetEnv On the apache.conf file but it
doesn't work
<VirtualHost *:9090>
ServerName graphite
DocumentRoot "/opt/graphite/webapp"
ErrorLog /logs/apps/graphite/webapp/error.log
CustomLog /logs/apps/graphite/webapp/access.log combined
SetEnv LOG_DIR /logs/apps/graphite/webapp/
WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120
WSGIProcessGroup graphite
WSGIApplicationGroup %{GLOBAL}
WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL}
...
...
...
</virtualhost>
I've also tried to set LOG_DIR on the shell
export LOG_DIR=/logs/apps/graphite/webapp/
/etc/init.d/apache stop
/etc/init.d/apache start
and doesn't work yet
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.