From: Lionel B. <lio...@bo...> - 2005-05-06 23:08:02
|
Michael Storz wrote the following on 06.05.2005 23:22 : >Lionel, > >we would like to run 2 independant sqlgrey daemons in parallel on the same >system, one for production, the other for test purposes. To be able to do >this, we need 2 things: > >- be able to specify the logging name of the daemon. My suggestion is to > use as the defualt the process name of the daemon. You can get it by > > my ($process_name) = $0 =~ m{.*/(.*)}; > > Good idea. Done in my tree. > In addition a configuration variable to specify this name would be nice. > > I sure hope nobody prints sqlgrey.conf files or I won't be able to rest under a tree without heavy branches falling on me... "log_ident" conf entry added. >- At the moment we can choose a different configuration file, but we are > unable to switch to a different configuration directory for all the > other files. > And this is something that bothers me too (forgot to put it in my TODO though). > Therefore we need a command line parameter for the > configuration directory in addition to the configuration file. > > In fact I'd prefer this to be a configuration variable. "conf_dir" conf entry added. This will be in 1.5.7 (working on a report tool now). 1.5.7 should be a feature freeze before a stable 1.6.0. Regards, Lionel. |