protected void Application_Start() { VotGES.GlobalVotGES.setCulture(); Logger logger=new WebLogger(); Logger.init(Logger.createFileLogger(Server.MapPath("/logs/"), "orders", logger)); Logger.Info("Старт приложения "+DateTime.Now); AreaRegistration.RegisterAllAreas(); RegisterRoutes(RouteTable.Routes); }
protected void Application_Start() { DBSettings.init(Server.MapPath("/bin/Data/DBSettings.xml")); VotGES.GlobalVotGES.setCulture(); Logger logger=new WebLogger(); Logger.InitFileLogger(Server.MapPath("/logs/"), "orders", new Web.Logging.WebLogger()); Logger.Info("Старт приложения "+DateTime.Now); AreaRegistration.RegisterAllAreas(); RegisterRoutes(RouteTable.Routes); }