Subject: RE: Logger Changes
From: Vazha Ezugbaia <[email-masked]>
To: Nana Gvatua <[email-masked]>, Ketevan Tatoshvili <[email-masked]>, Natia Baratelia <[email-masked]>, Adelina Faradian <[email-masked]>, Alexander Nodia <[email-masked]>, Alexander Turdziladze <[email-masked]>, Arsen Khitiri <[email-masked]>, David Sarishvili <[email-masked]>, Dimitri Ivanauri <[email-masked]>, Giorgi Lobjanidze <[email-masked]>, Giorgi Usharauli <[email-masked]>, Konstantine Muradov <[email-masked]>, Lali Buskivadze <[email-masked]>, Manuchar Tokhadze <
Date: Mon, 14 Apr 2014 15:43:13 +0000

ხალხო RequestLogger შევცვალე

რაც დაამატეთ MasterPage-ებზე წაშალეთ და გაიტანეთ Global.asax ფაილში

ქვემოთ არის მოყვანილი Classifications მოდულის Global.asax-ის ფაილის მაგალითი და ამის მიხედვით დაამათეთ თქვენც

<%@ Application Language="C#" %>

<%@ Import Namespace="Hmis.Tools.Loggers" %>

<%@ Import Namespace="Hmis.Tools.Security" %>

<%@ Import Namespace="Hmis.Tools.Utils" %>

<script RunAt="server">

private readonly HmisRequestLogger requestLogger = new HmisRequestLogger();

protected void Application_Start(object sender, EventArgs e)

{

}

protected void Application_End(object sender, EventArgs e)

{

//  Code that runs on application shutdown

}

protected void Application_Error(object sender, EventArgs e)

{

// Code that runs when an unhandled error occurs

}

protected void Session_Start(object sender, EventArgs e)

{

// Code that runs when a new session is started

UmUtil.Instance.Login();

}

protected void Session_End(object sender, EventArgs e)

{

// Code that runs when a session ends.

// Note: The Session_End event is raised only when the sessionstate mode

// is set to InProc in the Web.config file. If session mode is set to StateServer

// or SQLServer, the event is not raised.

}

protected void Application_BeginRequest(object sender, EventArgs e)

{

requestLogger.BeginRequest();

LanguageUtil.SetLanguage();

}

protected void Application_PreRequestHandlerExecute(object sender, EventArgs e)

{

requestLogger.PreRequestHandlerExecute();

}

protected void Application_PostRequestHandlerExecute(object sender, EventArgs e)

{

requestLogger.PostRequestHandlerExecute();

}

protected void Application_EndRequest(object sender, EventArgs e)

{

requestLogger.EndRequest();

}

script>