anchor.diff:          description = "List consisting of a virtual host name and a list of web applications to deploy on each virtual host";
         };
   
  +      logPerVirtualHost = mkOption {
  +        default = false; 
  +        description = "Whether to enable logging per virtual host.";
  +      }; 
  +
         axis2 = {
         
           enable = mkOption {
  
positive.code: 		${pkgs.tomcat6}/conf/catalina.properties > ${cfg.baseDir}/conf/catalina.properties
  	    
  	    # Create a modified server.xml which also includes all virtual hosts
  	    sed -e "/<Engine name=\"Catalina\" defaultHost=\"localhost\">/a\  ${toString (map (virtualHost: ''<Host name=\"${virtualHost.name}\" appBase=\"virtualhosts/${virtualHost.name}/webapps\" unpackWARs=\"true\" autoDeploy=\"true\" xmlValidation=\"false\" xmlNamespaceAware=\"false\" />'' ) cfg.virtualHosts)}" \
  	        ${pkgs.tomcat6}/conf/server.xml > ${cfg.baseDir}/conf/server.xml
  	    
  	    # Create a logs/ directory
  
negative.code: 	      
  	      # Symlink all the given web applications files or paths into the webapps/ directory
  	      # of this virtual host
  	      for i in "${if virtualHost ? webapps then toString virtualHost.webapps else ""}"
  	      do
  		  if [ -f $i ]
  		  then
  