Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
varshneyjayant authored Jun 27, 2016
1 parent 0b2b681 commit 898f78e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/log4net-loggly/LogglyClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 898f78e

Please sign in to comment.