> you mean it's just enough to change "hh" to "HH"
> in pattern="-yyyy-MM-dd-hh-mm" inside environment.xml

Yes, that is exactly what I mean.  :-)

> With log rotation, this morning I found something strange in my log
> directory: all log messages written into all kinds of log files after
> midnight were going into different files, one for each different minute

Yes, I reported that bug to Avalon last week.  It seems to happen only with
my configuration that uses both <date> and <size>.  If I just use <date>, it
doesn't happen.  They are in the process of preparing a new Release version
of LogKit, and will make sure that this is fixed before that happens.

> My environment.xml file is the one coming from the installation,
> having changed just a couple of "INFO" into "WARN".

I just downloaded v2.1.1.a5 to doublecheck.  The log rotation in that
release is:

      <file id="smtpserver-target">
        <filename>${app.home}/logs/smtpserver</filename>
        <format>...</format>
        <append>true</append>
        <rotation type="unique" pattern="-yyyy-MM-dd" suffix=".log">
          <or>
            <date>dd</date>
          </or>
        </rotation>
      </file>

So if you have the "-yyyy-MM-dd-hh-mm" pattern, and are seeing the bug you
reported, you must have changed the rotation.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to