added admin switches for logging