avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: [VOTE] Release LogKit 1.2
Date Wed, 05 Feb 2003 19:11:46 GMT
Leo,

You mean a test case OTHER than:

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

Do you believe that this is unique to James?  Download James v2.1.1a5.
Replace logkit with the new release candidate.  Make sure that
apps/james/SAR-INF/environment.xml has the above logging rotation.  In
SAR-INF/config.xml, find "<processor name="root">" and add the following
line immediately after:

  <mailet match="All" class="Null" />

that will discard all e-mail, which is fine for this test.  Alternatively, I
can post a pre-configured tar or zip for whomever wants to work on this
issue.

Then you can set the server time to sometime before midnight, start James,
and start sending messages.  I use postal on linux for that purpose.  As far
as I know, you could testing with telnet by hand would also exhibit the
problem.

My testing is limited to daily, because the test server hosts real-time
database replication backup for servers outside of our firewall, and they
are all NTP synched.

	---  Noel

-----Original Message-----
From: news [mailto:news@main.gmane.org]On Behalf Of Leo Simons
Sent: Wednesday, February 05, 2003 13:38
To: avalon-dev@jakarta.apache.org
Subject: Re: [VOTE] Release LogKit 1.2


ok (not!). This is a showstopper IMO. Noel, you think you could provide
a testcase?

- Leo

Noel J. Bergman wrote:
> Bad news:
>
>    4-Feb-2003  22:07:06    10,485,809  smtpserver-2003-02-04-16-29.log
>    4-Feb-2003  22:56:58    10,485,792  smtpserver-2003-02-04-22-07.log
>    4-Feb-2003  23:46:56    10,485,838  smtpserver-2003-02-04-22-56.log
>    5-Feb-2003  00:00:00     2,755,351  smtpserver-2003-02-04-23-46.log
>    5-Feb-2003  00:01:00       173,256  smtpserver-2003-02-05-00-00.log
>    5-Feb-2003  00:02:00       174,152  smtpserver-2003-02-05-00-01.log
>    5-Feb-2003  00:03:00       176,001  smtpserver-2003-02-05-00-02.log
>    5-Feb-2003  00:04:00       183,289  smtpserver-2003-02-05-00-03.log
>    5-Feb-2003  00:04:02         5,382  smtpserver-2003-02-05-00-04.log
>
> This is using today's release candidate.  Again, the file-target is:
>
>       <file id="smtpserver-target">
>         <filename>${app.home}/logs/smtpserver</filename>
>         <format> ... </format>
>         <append>true</append>
>         <rotation type="unique" pattern="-yyyy-MM-dd-HH-mm" suffix=".log">
>           <or>
>             <date>dd</date>
>             <size>10485760</size>
>           </or>
>         </rotation>
>       </file>
>
> Any ideas?



---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message