{"id":60,"date":"2009-09-04T18:00:00","date_gmt":"2009-09-04T16:00:00","guid":{"rendered":"\/post\/Log4Net-UDPAppenderc4b1-ve-ipv6.aspx"},"modified":"2009-09-04T18:00:00","modified_gmt":"2009-09-04T16:00:00","slug":"log4net-udpappenderi-ve-ipv6","status":"publish","type":"post","link":"https:\/\/fatihboy.com\/en\/log4net-udpappenderi-ve-ipv6\/","title":{"rendered":"Log4Net UDPAppender\u2019\u0131 ve ipv6"},"content":{"rendered":"<p>&nbsp;&nbsp;&nbsp;&nbsp; Bir s\u00fcredir ki\u015fisel bilgisayar\u0131mda Windows 7&#8217;yi kullan\u0131yorum; fakat bu bilgisayarda aktif olarak geli\u015ftirme yapmad\u0131\u011f\u0131mdan kulland\u0131\u011f\u0131m k\u00fct\u00fcphanelerdeki baz\u0131 problemleri farketmemi\u015fim.<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; Yazd\u0131\u011f\u0131m yaz\u0131l\u0131mlarda her zaman i\u00e7in loglama yapar\u0131m, java ile yaz\u0131l\u0131m geli\u015ftirirken log4j ile edindi\u011fim, ard\u0131ndan .Net&#8217;te log4net ile devam etti\u011fim bir al\u0131\u015fkanl\u0131k. Gerek yaz\u0131l\u0131m\u0131 geli\u015ftirirken, gerekse de son kullan\u0131c\u0131da debug konusunda \u00e7ok b\u00fcy\u00fck faydalar\u0131n\u0131 g\u00f6rd\u00fcm. Son kullan\u0131c\u0131 i\u00e7in loglar\u0131m\u0131 dosya sistemine yazmak, ya da kritik olanlar\u0131 web servislere g\u00f6ndermek en rahat\u0131; ama geli\u015ftirme ortam\u0131nda devaml\u0131 a\u00e7\u0131p log dosyas\u0131na bakmak s\u0131k\u0131nt\u0131l\u0131 bir s\u00fcre\u00e7 oluyor. Tail tarz\u0131 uygulamalarla dosyaya ekleme olduk\u00e7a g\u00f6rmek sa\u011flanabilse de benim tercihim daha &#8216;\u015f\u0131k&#8217; bir \u00e7\u00f6z\u00fcmden yana olacak; UDPAppender. <br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; \u015eimdiye kadar geli\u015ftirme ortam\u0131nda UDPAppender ile h\u0131\u00e7 s\u0131k\u0131nt\u0131 ya\u015famam\u0131\u015ft\u0131m; Windows 7 \u00fczerinde denemelerime kadar&#8230; Windows XP \u00fczerinde hi\u00e7 bir s\u0131k\u0131nt\u0131 yaratmadan \u00e7al\u0131\u015fan ve udp \u00fczerinden loglar\u0131 ileten program\u0131m Windows 7&#8217;de ayn\u0131 \u015fekilde \u00e7al\u0131\u015fmamaya ba\u015flad\u0131. Konuyu log4net forumlar\u0131nda ara\u015ft\u0131r\u0131nca ba\u015fkalar\u0131n\u0131n da benzer s\u0131k\u0131nt\u0131larla kar\u015f\u0131la\u015ft\u0131\u011f\u0131n\u0131 g\u00f6rd\u00fcm. S\u0131k\u0131nt\u0131n\u0131n kayna\u011f\u0131nda XP&#8217;den farkl\u0131 olarak Windows 7&#8217;nin ipv4&#8217;e ek olarak verdi\u011fi ipv6 deste\u011fi g\u00f6steriliyor. \u00d6neriler aras\u0131nda 127.0.0.1 olarak localhost&#8217;a log g\u00f6nderecek \u015fekilde a\u015fa\u011f\u0131daki \u00f6rnekte oldu\u011fu gibi ayarlanm\u0131\u015f yap\u0131land\u0131rman\u0131n ip adresi 127.0.0.2 kullan\u0131lacak \u015fekilde de\u011fi\u015ftirilmesi vard\u0131.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;appender name=\"UdpAppender\" type=\"log4net.Appender.UdpAppender\">\n    &lt;remoteAddress value=\"127.0.0.1\"\/>\n    &lt;remotePort value=\"8080\"\/>\n    &lt;layout type=\"log4net.Layout.XmlLayoutSchemaLog4j\">\n\n      &lt;locationInfo value=\"true\"\/>\n    &lt;\/layout>\n&lt;\/appender><\/pre>\n\n\n\n<p>Ger\u00e7ekten da yap\u0131land\u0131rmay\u0131 tavsiye edildi\u011fi \u015fekilde a\u015fa\u011f\u0131daki gibi de\u011fi\u015ftirince yeniden loglar\u0131 g\u00f6rmeye ba\u015flad\u0131m; fakat bunun yerine log4net kodlar\u0131nda yap\u0131lacak bir g\u00fcncelleme daha iyi olurdu.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;appender name=\"UdpAppender\" type=\"log4net.Appender.UdpAppender\">\n\n    &lt;remoteAddress value=\"127.0.0.2\"\/>\n    &lt;remotePort value=\"8080\"\/>\n    &lt;layout type=\"log4net.Layout.XmlLayoutSchemaLog4j\">\n      &lt;locationInfo value=\"true\"\/>\n\n    &lt;\/layout>\n&lt;\/appender><\/pre>\n\n\n\n<p>Bu problem log4net jira&#8217;s\u0131nda 112 bildirim numaras\u0131 ile iletilmi\u015f : <a href=\"https:\/\/issues.apache.org\/jira\/browse\/LOG4NET-112\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/issues.apache.org\/jira\/browse\/LOG4NET-112<\/a> . Gelen yorumlarda bir ka\u00e7 work-around olsa da yine de en do\u011frusu i\u015fi log4net repository&#8217;sinde \u00e7\u00f6zmekteki; ki UdpAppender.cs dosyas\u0131 i\u00e7inde yap\u0131lan 506603 nolu revizyon (<a href=\"https:\/\/svn.apache.org\/viewvc\/logging\/log4net\/trunk\/src\/Appender\/UdpAppender.cs?revision=506603\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/svn.apache.org\/viewvc\/logging\/log4net\/trunk\/src\/Appender\/UdpAppender.cs?revision=506603<\/a>) sonras\u0131 problem \u00e7\u00f6z\u00fclm\u00fc\u015f g\u00f6r\u00fcl\u00fcyor.<\/p>\n\n\n\n<p>Benzer bir problemi sizde ya\u015fad\u0131ysan\u0131z, tavsiyem log4net&#8217;in g\u00fcncel kaynak kodu \u00fczerinde bu de\u011fi\u015fikli\u011fi yapman\u0131z ve ard\u0131ndan derlenen dll&#8217;i kullanman\u0131z.<\/p>","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;&nbsp;&nbsp; Bir s\u00fcredir ki\u015fisel bilgisayar\u0131mda Windows 7&#8217;yi kullan\u0131yorum; fakat bu bilgisayarda aktif olarak geli\u015ftirme yapmad\u0131\u011f\u0131mdan kulland\u0131\u011f\u0131m k\u00fct\u00fcphanelerdeki baz\u0131 problemleri farketmemi\u015fim. &nbsp;&nbsp;&nbsp; Yazd\u0131\u011f\u0131m yaz\u0131l\u0131mlarda her zaman i\u00e7in loglama yapar\u0131m, java ile yaz\u0131l\u0131m geli\u015ftirirken log4j ile edindi\u011fim, ard\u0131ndan .Net&#8217;te log4net ile devam etti\u011fim bir al\u0131\u015fkanl\u0131k. Gerek yaz\u0131l\u0131m\u0131 geli\u015ftirirken, gerekse de son kullan\u0131c\u0131da debug konusunda \u00e7ok b\u00fcy\u00fck faydalar\u0131n\u0131&#8230;<\/p>\n<p><a class=\"read-more\" href=\"https:\/\/fatihboy.com\/en\/log4net-udpappenderi-ve-ipv6\/\">Read More<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[41,87],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-turkce","tag-c","tag-log4net"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Log4Net UDPAppender\u2019\u0131 ve ipv6 - Fatih Boy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihboy.com\/en\/log4net-udpappenderi-ve-ipv6\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Log4Net UDPAppender\u2019\u0131 ve ipv6 - Fatih Boy\" \/>\n<meta property=\"og:description\" content=\"&nbsp;&nbsp;&nbsp;&nbsp; Bir s\u00fcredir ki\u015fisel bilgisayar\u0131mda Windows 7&#8217;yi kullan\u0131yorum; fakat bu bilgisayarda aktif olarak geli\u015ftirme yapmad\u0131\u011f\u0131mdan kulland\u0131\u011f\u0131m k\u00fct\u00fcphanelerdeki baz\u0131 problemleri farketmemi\u015fim. &nbsp;&nbsp;&nbsp; Yazd\u0131\u011f\u0131m yaz\u0131l\u0131mlarda her zaman i\u00e7in loglama yapar\u0131m, java ile yaz\u0131l\u0131m geli\u015ftirirken log4j ile edindi\u011fim, ard\u0131ndan .Net&#8217;te log4net ile devam etti\u011fim bir al\u0131\u015fkanl\u0131k. Gerek yaz\u0131l\u0131m\u0131 geli\u015ftirirken, gerekse de son kullan\u0131c\u0131da debug konusunda \u00e7ok b\u00fcy\u00fck faydalar\u0131n\u0131...Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihboy.com\/en\/log4net-udpappenderi-ve-ipv6\/\" \/>\n<meta property=\"og:site_name\" content=\"Fatih Boy\" \/>\n<meta property=\"article:published_time\" content=\"2009-09-04T16:00:00+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Boy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Boy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/\"},\"author\":{\"name\":\"Fatih Boy\",\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\"},\"headline\":\"Log4Net UDPAppender\u2019\u0131 ve ipv6\",\"datePublished\":\"2009-09-04T16:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/\"},\"wordCount\":439,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\"},\"keywords\":[\"C#\",\"Log4Net\"],\"articleSection\":[\"T\u00fcrk\u00e7e\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/\",\"url\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/\",\"name\":\"Log4Net UDPAppender\u2019\u0131 ve ipv6 - Fatih Boy\",\"isPartOf\":{\"@id\":\"https:\/\/fatihboy.com\/#website\"},\"datePublished\":\"2009-09-04T16:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fatihboy.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Log4Net UDPAppender\u2019\u0131 ve ipv6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihboy.com\/#website\",\"url\":\"https:\/\/fatihboy.com\/\",\"name\":\"Fatih Boy\",\"description\":\"Ki\u015fisel Web Sitesi\",\"publisher\":{\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihboy.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158\",\"name\":\"Fatih Boy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g\",\"caption\":\"Fatih Boy\"},\"logo\":{\"@id\":\"https:\/\/fatihboy.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/fatihboy.com\"],\"url\":\"https:\/\/fatihboy.com\/en\/author\/fatih\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Log4Net UDPAppender\u2019\u0131 ve ipv6 - Fatih Boy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihboy.com\/en\/log4net-udpappenderi-ve-ipv6\/","og_locale":"en_US","og_type":"article","og_title":"Log4Net UDPAppender\u2019\u0131 ve ipv6 - Fatih Boy","og_description":"&nbsp;&nbsp;&nbsp;&nbsp; Bir s\u00fcredir ki\u015fisel bilgisayar\u0131mda Windows 7&#8217;yi kullan\u0131yorum; fakat bu bilgisayarda aktif olarak geli\u015ftirme yapmad\u0131\u011f\u0131mdan kulland\u0131\u011f\u0131m k\u00fct\u00fcphanelerdeki baz\u0131 problemleri farketmemi\u015fim. &nbsp;&nbsp;&nbsp; Yazd\u0131\u011f\u0131m yaz\u0131l\u0131mlarda her zaman i\u00e7in loglama yapar\u0131m, java ile yaz\u0131l\u0131m geli\u015ftirirken log4j ile edindi\u011fim, ard\u0131ndan .Net&#8217;te log4net ile devam etti\u011fim bir al\u0131\u015fkanl\u0131k. Gerek yaz\u0131l\u0131m\u0131 geli\u015ftirirken, gerekse de son kullan\u0131c\u0131da debug konusunda \u00e7ok b\u00fcy\u00fck faydalar\u0131n\u0131...Read More","og_url":"https:\/\/fatihboy.com\/en\/log4net-udpappenderi-ve-ipv6\/","og_site_name":"Fatih Boy","article_published_time":"2009-09-04T16:00:00+00:00","author":"Fatih Boy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Fatih Boy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#article","isPartOf":{"@id":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/"},"author":{"name":"Fatih Boy","@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158"},"headline":"Log4Net UDPAppender\u2019\u0131 ve ipv6","datePublished":"2009-09-04T16:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/"},"wordCount":439,"commentCount":0,"publisher":{"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158"},"keywords":["C#","Log4Net"],"articleSection":["T\u00fcrk\u00e7e"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/","url":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/","name":"Log4Net UDPAppender\u2019\u0131 ve ipv6 - Fatih Boy","isPartOf":{"@id":"https:\/\/fatihboy.com\/#website"},"datePublished":"2009-09-04T16:00:00+00:00","breadcrumb":{"@id":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihboy.com\/log4net-udpappenderi-ve-ipv6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fatihboy.com\/"},{"@type":"ListItem","position":2,"name":"Log4Net UDPAppender\u2019\u0131 ve ipv6"}]},{"@type":"WebSite","@id":"https:\/\/fatihboy.com\/#website","url":"https:\/\/fatihboy.com\/","name":"Fatih Boy","description":"Ki\u015fisel Web Sitesi","publisher":{"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihboy.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/6b06a41d42eed36eaa0780fbeb774158","name":"Fatih Boy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fatihboy.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5b3de123ad95a2ffe30b75a54cee98b55f65185c6d6805b35088a3d945f2feb4?s=96&d=mm&r=g","caption":"Fatih Boy"},"logo":{"@id":"https:\/\/fatihboy.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/fatihboy.com"],"url":"https:\/\/fatihboy.com\/en\/author\/fatih\/"}]}},"brizy_media":[],"_links":{"self":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":0,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihboy.com\/en\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}