From 898f78ef9d8092129cefbf0998f2373c62a66c4c Mon Sep 17 00:00:00 2001 From: psquickitjayant Date: Mon, 27 Jun 2016 17:30:02 +0530 Subject: [PATCH] Bug fix --- source/log4net-loggly/LogglyClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/log4net-loggly/LogglyClient.cs b/source/log4net-loggly/LogglyClient.cs index ebbf2f5..efc0e65 100644 --- a/source/log4net-loggly/LogglyClient.cs +++ b/source/log4net-loggly/LogglyClient.cs @@ -44,9 +44,9 @@ public virtual void Send(ILogglyAppenderConfig config, string message) protected virtual HttpWebRequest CreateWebRequest(ILogglyAppenderConfig config, string tag) { - var url = String.Concat(config.RootUrl, config.InputKey); - //adding userAgent as tag in the log - url = String.Concat(url, "/tag/" + tag); + var url = String.Concat(config.RootUrl, config.LogMode, config.InputKey); + //adding userAgent as tag in the log + url = String.Concat(url, "/tag/" + tag); var request = (HttpWebRequest)WebRequest.Create(url); request.Method = "POST"; request.ReadWriteTimeout = request.Timeout = config.TimeoutInSeconds * 1000;