Marshall Pierce <[EMAIL PROTECTED]> wrote: > Hiroaki Kawai wrote: > > Hi, > > > > log4php currently supports the following environment > > variables (in LoggerManager.php) > > > > $_ENV['log4php.defaultInitOverride'] > > $_ENV['log4php.configuration'] > > > > I'm wondering how people are setting this value. > > It is very hard to set an environment value including . (dot) > > I could set it by writing a special C code, but these vars > > should be set in shell. > > > > And more, I wanted to add another method to set > > these values, $_SERVER. > > > > I'd like to suggest a patch attached to this mail. > > > > > > Good idea about changing the environment variable names to something > more easily settable, but I'm curious why the config file to use would > ever be defined in $_SERVER -- could you explain why that's useful? I > think most httpd's will let you set environment variables. > > -Marshall
$_SERVER is useful with apache httpd mod_env setting :-) SetEnv log4php_configuration /path/to/config-file It is very useful setting these variables in httpd.conf rather than in APACHE_INSTALL_DIR/bin/envvars. --- Hiroaki Kawai
