Permalink
Browse files

Resolving RavenDB-214

  • Loading branch information...
1 parent 7495535 commit 289ce4163f8a8c28c3ffa7aaf9a04d12d38e33cf @ayende ayende committed Apr 16, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 Raven.Database/Rhino.Licensing/AbstractLicenseValidator.cs
@@ -22,6 +22,8 @@ public abstract class AbstractLicenseValidator
/// </summary>
protected readonly Logger Logger = LogManager.GetCurrentClassLogger();
+ private bool licenseInfoLogged;
+
/// <summary>
/// Standard Time servers
/// </summary>
@@ -281,7 +283,11 @@ private bool HasExistingLicense()
Logger.Warn("Failed validating license:\r\n{0}", License);
return false;
}
- Logger.Info("License expiration date is {0}", ExpirationDate);
+ if (licenseInfoLogged == false)
+ {
+ Logger.Info("License expiration date is {0}", ExpirationDate);
+ licenseInfoLogged = true;
+ }
bool result;
if (LicenseType == LicenseType.Subscription)

0 comments on commit 289ce41

Please sign in to comment.