title: Create NLog file with current date and time without caching it, keeping the archive file name the same
body: <p>I'm using NLog to do some logging and I've run into an issue with the archiving and filenames. </p>
  
  <p>I'm creating the logging configurations in code (I'm writing a wrapper to expose some specific functionality), and I've got the <code>FileTarget</code> object created with these options:</p>
  
  <pre><code>this._fileTarget.FileName = "${date:format=yyyy-MM-dd hh.mm.ss}.log";
  this._fileTarget.ArchiveAboveSize = Math.Pow(1024, 2) * 5; //5MB
  this._fileTarget.ArchiveNumbering = ArchiveNumberingMode.Date;
  this._fileTarget.ArchiveEvery = FileArchivePeriod.Day;
  this._fileTarget.ArchiveDateFormat = "yyyy-MM-dd hh.mm.ss";
  </code></pre>
  
  <p>I'm not sure why NLog did it like this, but that file name layout will create a new log file every second instead of just using the file name until the archive period is up. </p>
  
  <p>I added the cached target wrapper to the filename as such:</p>
  
  <pre><code>this._fileTarget.FileName = "${cached:cached=true:inner=${date:format=yyyy-MM-dd hh.mm.ss}.log}";
  </code></pre>
  
  <p>But all that buys me is a file name that now never changes, and looks like this when archived</p>
  
  <pre><code>2014-12-03 12.00.00.2014-12-03 12.00.00.log
  2014-12-03 12.00.00.2014-12-03 12.10.00.log
  etc...
  </code></pre>
  
  <p>Is it possible to tell NLog to only archive files based on the file size and date and to ignore the archive numbering and date formatting? I'm trying to produce log files whose name is the timestamp of when it was created, where new files are only created above a certain size or every day.</p>
  
  <p><strong>Edit:</strong> 
  This is what I am trying to acheive:</p>
  
  <p>On application start</p>
  
  <ol>
  <li>Creates log file with the file name in the format of <code>"yyyy-MM-dd hh.mm.ss".txt</code> by using the current time stamp (Example -> "2014-04-29 11:11:11.txt")</li>
  <li>The application logs to that file for a while until it either
  <ul>
  <li>Becomes too large (over a defined limit) or</li>
  <li>The archive time elapses (in my case, this is one day)</li>
  </ul></li>
  <li>The logger then stops writing to the file created in 1. ("2014-04-29 11.11.11.txt") and does not rename it or otherwise add sequential/rolling numbers or date formatting to it.</li>
  <li>Repeat steps 1-3 until the end of time.</li>
  </ol>
  
  <p>Leaving me with a Log folder that looks like this:</p>
  
  <pre><code>Logs
  |
  |&gt; 2014-12-10 12:50:50.txt    (1024 kb)
  |&gt; 2014-12-10 12:50:55.txt    (1020 kb)
  |&gt; 2014-12-10 12:51:01.txt    (1024 kb)
  |&gt; 2014-12-10 12:51:10.txt    (1003 kb)  
  |&gt; 2014-12-10 12:51:20.txt    (400 kb)  &lt;-The currently active log file.
  </code></pre>