Subject: RE: Logs
From: Alexander Turdziladze <[email-masked]>
To: Dimitri Ivanauri <[email-masked]>, Nikoloz Ivanauri <[email-masked]>, Adelina Faradian <[email-masked]>, Vazha Ezugbaia <[email-masked]>, Konstantine Muradov <[email-masked]>, Tamta Kobakhidze <[email-masked]>, Sergo Rostiashvili <[email-masked]>, David Sarishvili <[email-masked]>, Natia Baratelia <[email-masked]>, Arsen Khitiri <[email-masked]>, Alexander Nodia <[email-masked]>, Giorgi Lobjanidze <[email-masked]>, Giorgi Usharauli <[email-masked]>, Ketevan Tatoshvili <
Date: Wed, 05 Feb 2014 07:31:34 +0000

ვაჟიკ,

გთხოვ გვითხრა რომელ გვერდზე უნდა ვნახოთ ლოგები. ალბათ მოდულთა ჩამონათვალს ამატებ ლოგების გვერდს ხომ? როდისთვის იქნება?

თათა, გთხოვ ჩადო ამოცანებში.

მადლობა,

ალეკო

From: Dimitri Ivanauri

Sent: Wednesday, February 5, 2014 11:28 AM

To: Nikoloz Ivanauri; Adelina Faradian; Vazha Ezugbaia; Konstantine Muradov; Tamta Kobakhidze; Sergo Rostiashvili; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan
Tatoshvili; Lali Buskivadze; Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili; [email-masked]; [email-masked]

Subject: RE: Logs

სერტიფიცირება და GIS
მზად არის

From: Nikoloz Ivanauri

Sent: Monday, February 03, 2014 11:51 AM

To: Adelina Faradian; Vazha Ezugbaia; Konstantine Muradov; Tamta Kobakhidze; Sergo Rostiashvili; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Dimitri Ivanauri; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan
Tatoshvili; Lali Buskivadze; Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili; [email-masked]; [email-masked]

Subject: RE: Logs

რეცეპტში და დიალიზში ჩადებულია

From: Adelina Faradian

Sent: Friday, January 31, 2014 7:40 AM

To: Vazha Ezugbaia; Konstantine Muradov; Tamta Kobakhidze; Sergo Rostiashvili; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Dimitri Ivanauri; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan Tatoshvili; Lali Buskivadze;
Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Nikoloz Ivanauri; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili;
[email-masked];
[email-masked]

Subject: RE: Logs

რეგულაცია
-
ლიცენზირება, მზად არის
J

From: Vazha Ezugbaia

Sent: Friday, January 31, 2014 3:08 PM

To: Konstantine Muradov; Tamta Kobakhidze; Sergo Rostiashvili; Adelina Faradian; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Dimitri Ivanauri; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan Tatoshvili; Lali
Buskivadze; Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Nikoloz Ivanauri; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili;
[email-masked];
[email-masked]

Subject: RE: Logs

MasterPage-ze

Vasxadebt sam cvlads

private
readonly
Stopwatch loadSw =
new
Stopwatch();

private
readonly
Stopwatch renderSw =
new
Stopwatch();

private
readonly
HmisRequestLogger requestLogger =
new
HmisRequestLogger();

shemdeg Page_Init eventze vuketebt inicializacias da Start-s

protected
void Page_Init(object
sender, EventArgs e)

{

loadSw.Start();

//tqveni kodi... UmUtiltan mimartvebi da jandabebi

requestLogger.Init();

}

Shedeg Page_PreRender eventze vacherebt loadSw-s da vstartavt renders-s

protected
void Page_PreRender(object
sender, EventArgs e)

{

//isev tqveni kodi jer da boloshi danarcheni

loadSw.Stop();

renderSw.Start();

}

Da bolos Page_Unload-ze vacherebt renderSw-s da vidzaxebt logs

protected
void Page_Unload(object
sender, EventArgs e)

{

if (!renderSw.IsRunning)

{

return;

}

renderSw.Stop();

requestLogger.Log(loadSw.Elapsed, renderSw.Elapsed);

}

Es yvelaferi unda xdebodes MasterPage-ze

Aseve ar dagaviwydet Log4Net-is konfigraciis shecvla shemdegzenairad

<log4net>

<appender
name="BaseHttpAppender"
type="log4net.Appender.HttpAppender,
log4net.Appenders">

<param
name="Url"
value="http://ehealth.moh.gov.ge/Hmis/CommonData/Handlers/LoggerHandler.ashx"
/>

<param
name="ApiKey"
value="[ModuleID]"
/>

<param
name="ContentType"
value="text/xml"
/>

<param
name="Timeout"
value="60"
/>

<param
name="Async"
value="true"
/>

<param
name="TaskParallelism"
value="false"
/>

<param
name="UseProxy"
value="false"
/>

<param
name="ProxyUrl"
value="http://myproxy:3128"
/>

<param
name="ProxyBypassOnLocal"
value="true"
/>

<param
name="ProxyUseDefaultCredentials"
value="true"
/>

<param
name="ProxyCredentialsDomain"
value="OFFICE"
/>

<param
name="ProxyCredentialsUserName"
value="MyUser"
/>

<param
name="ProxyCredentialsPassword"
value="MyPassword"
/>

appender>

<appender
name="LogConsoleAppender"
type="log4net.Appender.ConsoleAppender">

<layout
type="log4net.Layout.PatternLayout">

<conversionPattern
value="%message%newline"
/>

layout>

appender>

<appender
name="SmtpAppender"
type="log4net.Appender.SmtpAppender">

<to
value="[email-masked]"
/>

<from
value="[email-masked]"
/>

<subject
value="GMServer
Error" />

<smtpHost
value="smtp.gmail.com"
/>

<bufferSize
value="512"
/>

<lossy
value="true"
/>

<evaluator
type="log4net.Core.LevelEvaluator">

<threshold
value="WARN"
/>

evaluator>

<layout
type="log4net.Layout.PatternLayout">

<conversionPattern
value="%newline%date
[%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline" />

layout>

appender>

<root>

<level
value="ALL"
/>

<appender-ref
ref="LogConsoleAppender"
/>

root>

<logger
name="ValidationsLogger">

<level
value="ALL"
/>

<appender-ref
ref="BaseHttpAppender"
/>

logger>

<logger
name="TrafficLogger">

<level
value="ALL"
/>

<appender-ref
ref="BaseHttpAppender"
/>

logger>

<logger
name="LoginLogger">

<level
value="ALL"
/>

<appender-ref
ref="BaseHttpAppender"
/>

logger>

<logger
name="RequestLogger">

<level
value="ALL"
/>

<appender-ref
ref="BaseHttpAppender"
/>

logger>

log4net>

IQ SADAC WERIA [ModuleID]

From: Konstantine Muradov

Sent: პარასკევი, 31
იანვარი, 2014
წელი 13:21

To: Vazha Ezugbaia; Tamta Kobakhidze; Sergo Rostiashvili; Adelina Faradian; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Dimitri Ivanauri; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan Tatoshvili; Lali Buskivadze;
Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Nikoloz Ivanauri; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili;
[email-masked];
[email-masked]

Subject: RE: Logs

ძმურად რამე steb by step ინსტრუქცია მოიწერე.

From: Vazha Ezugbaia

Sent: Friday, January 31, 2014 1:16 AM

To: Tamta Kobakhidze; Sergo Rostiashvili; Adelina Faradian; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Dimitri Ivanauri; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan Tatoshvili; Konstantine Muradov; Lali
Buskivadze; Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Nikoloz Ivanauri; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili;
[email-masked];
[email-masked]

Subject: RE: Logs

Logebze ra xdeba xalxo…

statusebi mogvawodet
J

From: Vazha Ezugbaia

Sent: ხუთშაბათი, 30
იანვარი, 2014
წელი 10:22

To: Tamta Kobakhidze; Sergo Rostiashvili; Adelina Faradian; David Sarishvili; Natia Baratelia; Arsen Khitiri; Alexander Turdziladze; Alexander Nodia; Dimitri Ivanauri; Giorgi Lobjanidze; Giorgi Usharauli; Ketevan Tatoshvili; Konstantine Muradov; Lali
Buskivadze; Manuchar Tokhadze; Mary Gelashvili; Nana Gvatua; Niko Khvichia; Nikoloz Ivanauri; Teona Shalamberidze; Valerian Khvichia; Zurab Dalakishvili;
[email-masked];
[email-masked]

Subject: Logs

Aba agiaret romelma chado sistemashi logebi da romelma ara?

Vinc chado moiweros vinc arada orshabatamde chadet tore cudad aris saqme

Imedia xvdebit romel logebze geubnebit (master page-ze ro unda daematos romelic yvela requests dalogavs da gvetyvis raze ramdeni dro daixarja)