Hi, On Fri, 2005-05-13 at 13:36 +0100, Nick Kew wrote: > Jaspreet Singh wrote: > > [ Please don't scatter this to so many list and individual addresses. > If I see more than one copy of any followup you post, I will certainly > not take the time to help you any further ] > sorry about that, i wan't sure witch list would be better suited for my post. I individual addresses beacause i could find there posts regarding the same. Sorry for the inconvinience. > If you use conventional vhosts, yes. That's one reason there are > *different* options for mass virtual hosting. You should use one of > them for this and other reasons. > could, you please elaborate on different options. > To get separate logs, either postprocess a common log file, or use some > alternative such as logging to an SQL database. > Error log doesn't contain virt_host/server name so If i log errors to a common file/sql i can't split them later based on virt_hosts which caused them. > > I read in src/httd-2.0.46/CHANGES +3274 > > *) Add a new request hook, error_log. This phase allows modules > > to act on the error log string _after_ it has been written > > to the error log. > > Note the word _after_. It's addressing a different requirement. If, i am not mistaken .. "__after__" means that the msg is already logged to error_log and them passed to hook. Thats ok with me, as i can get the server name from "request" structure and log the same msg again to syslog appending server name. thanx for the help, jaspreet singh. > -- Don't Walk as if you own the world, Walk as if you don't damn who owns it. Jaspreet Singh Software Engineer, Ensim India. jsingh@xxxxxxxxx +91 9890712226 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx