During first stages of bootstrap process no database exists, nor config
stored in database, or aiki object: this resources are not available.

Log files is created in this stages (to log errors during this important stage) 
using:
- some constants:  define("AIKI_LOG_FILE");
- load this constants in config ()

Aiki loads configuration stored in database, after establish connection,
and create aiki object. So, in this moment we can apply configs stored
in database.(  Line 134 of bootstrap.php).

Other solutions can be:
- create log file only after aiki object is created, and doesn't log previous 
error. 
-change config loads. First, create a unique config file with essential 
variables (connection, log)  and rewrite this file using aiki-admin. In this 
case, log files must be unique for all sites.
..but this is for a blueprint...

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/892464

Title:
  need to be able to set the path of aiki.log in the admin interface,

Status in Aiki Framework:
  Fix Released

Bug description:
  should prefer to not put in the web root filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/892464/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to