anselmorenato / threepress

Automatically exported from code.google.com/p/threepress
Other
0 stars 0 forks source link

settings: It is not possible to set LOG_DIR in local.py; ROOT_PATH+'/log' must still exist. #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

settings.py configures the log system. It is possible to reconfigure it in 
local.py, but the 
ROOT_PATH+'/log' directory must exist or the configuration in settings.py will 
fail before even 
reading local.py

I'm not sure how to fix that in a nice way. 

I probably would setup two path variables, e.g. APPLICATION_PATH and 
INSTANCE_PATH, and use 
INSTANCE_PATH for setting up log system and the path to storage.

Original issue reported on code.google.com by jens.quade on 25 Aug 2009 at 1:09