File: changes.html

package info (click to toggle)
logkit 1.0.1-1
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 740 kB
  • ctags: 892
  • sloc: java: 4,673; xml: 1,281; makefile: 42; sql: 31
file content (498 lines) | stat: -rw-r--r-- 18,707 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Revision History</title>
</head>
<body bgcolor="#ffffff" marginheight="4" marginwidth="4" leftmargin="4" topmargin="4" alink="#023264" vlink="#023264" link="#525D76" text="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top"><a href="http://jakarta.apache.org/index.html"><img src="images/jakarta-logo.gif" border="0" vspace="0" hspace="0"></a></td><td bgcolor="#ffffff" align="left" valign="top" width="100%"><img src="images/header.gif" align="right" border="0" vspace="0" hspace="0"></td>
</tr>
<tr>
<td colspan="2" height="2" width="100%">
<hr size="1" noshade="">
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="1%"></td><td nowrap="1" valign="top" width="14%">
<br>
<font face="arial,helvetica,sanserif">
<br>
<br>
<a href="http://jakarta.apache.org/avalon"><font size="+1" color="#F3510C">Back to Avalon</font></a>
<br>
<br>
<font size="+1" color="#000000">About</font>
<br>
<font size="-1">
<ul>
<li>
<a href="index.html"><font size="-1">Overview</font></a>
</li>
<li>
<a href="features.html"><font size="-1">Features</font></a>
</li>
<li>
<a href="http://jakarta.apache.org/builds/jakarta-avalon/release/logkit/latest"><font size="-1">Download</font></a>
</li>
<li>
<a href="whitepaper.html"><font size="-1">Whitepaper</font></a>
</li>
<li>
<a href="changes.html"><font size="-1">Changes</font></a>
</li>
<li>
<a href="http://jakarta.apache.org/avalon/logkit/api/index.html"><font size="-1">API Docs</font></a>
</li>
</ul>
</font>
<br>
<br>
</font></td><td align="left" valign="top" width="*">
<title>Revision History</title>
<center>
<table width="80%">
<tr>
<td bgcolor="#F3DD61">
<br>
<center>
<b><font face="arial,helvetica,sanserif" color="#000000">Revision History</font></b>
</center>
<br>
</td>
</tr>
</table>
</center>
<br>
<div align="right">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0.1 
                   (January 31, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
      Fixed spelling in the documentation files.
     (PD)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
      Fix javadoc warnings from "@returns" tags used instead of "@return".
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      added new constructors to produce better readable file names in the
      File Strategy classes.
     (GP)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
      Added fixes to AsyncLogTarget: Make sure that the LogTarget delegated
      to cannot disrupt thread by throwing an exception.  Remove uneeded step
      from documentation.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Many improvements to PatternFormatter including:  Made it possible to
      specify the format of date in the auxilliary parameter of the format
      for dates.  Cached the date and DateFormatter objects so that they are
      not created every time a LogEvent is formatted.  Added a getRTime()
      method to format relative time. Just delegates to getTime at the
      moment for backwards compatability.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Made sure that additivity is transitive (in Logger) - even when you
      only inherit your loggers from your parent.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Added isPriorityEnabled() method to Logger to determine if specified
      priority is enabled.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Various build improvements.
     (LM)</li>
</ul>
</font></td>
</tr>
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0 
                   (October 26, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/remove.jpg" border="0" alt="deleted" align="absmiddle">
      Remove references to Testlet (since we migrated to JUnit).
     (BL)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
      Fixed EOL issues in test so that line formatting works across all
      systems (rather than just unix).
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Added in a clearer javadoc class description in PatternFormatter.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Made Hierarchy setDefaultLogTargets() which is like
      setDefaultLogTarget() but accepts an array.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Use default log format when use default constructor in
      AvalonFormatter comaptibility.
     (EP)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Various build improvements.
     (BL)</li>
</ul>
</font></td>
</tr>
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0b5 
                   (September 17, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Updated unit tests to use JUnit rather than Testlet.
     (EP)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
      Deprecate OutputStreamLogger and replace with LoggerOutputStream.
     (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
      Added JMS support for JMS Log messages.
     (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
      Added file rotation strategies, including patches from
      Bernhard Huber and Carsten Ziegeler
     (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
      Implemented a database log target.
     (PD)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
      Used synchronization to make targets more threads safe.
     (PD)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
      Fix masquerading attack security hole.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Incorporate additivity feature similar to Log4j.  This is needed as
      getLogTargets() is deprecated for security reasons (allowed masq)
      and yet this functionality is still needed.  Added unit tests to
      verify it behaves as expected.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Made LogEvent serializable. The format may change slightly before
      release.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Passed Hierarchy object as ErrorHandler. Hierarchy delegates to another
      ErrorHandler which allows ErrorHandler to be pluggable without resetting
      all ErrorHandlers each time an ErrorHandler is changed.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Incorporated delegation of Error Handling to ErrorHandler.
      Logging components receive an ErrorHandler by implementing ErrorAware.
      Added AbstractTarget that provided basic functionality of open/close
      and error handling almost always needed by LogTargets.
      Refactored all existing targets to work with this method.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Made ContextMap serializable. After deserializing it defaults to readonly.
      This assumes that Context only contains serializable elements.
     (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Update build process to the proposed standard.
     (BL)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
      Update build process to notify the user of missing jars, and perform
      many other checks
     (PD)</li>
</ul>
</font></td>
</tr>
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0b4 
                   (August 6, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Added ContextMap, updated whitepaper to describe the feature. Deprecated ContextStack 
    in the process as it encouraged bad practices and has been supersceded by ContextMap.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Added ExtendedPatternFormatter to allow log messages to be formatted with 
    caller method and thread ids.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Fixed bug in OutputStreamLogger so that it does not append a '\n' at end
    of stream.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Added Target SafeFileTarget that opens file and then closes file each time 
    a log entry is written.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Added basic unit tests for the logkit formatters, stream and file output 
    targets, priority and logTarget inheritance and utility code.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Rework existing logtargets so that they are thread safe, perform better error
    management and improve usability. Old style targets have been deprecated as
    have any "unsafe" methods.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Added extra constructor to PatternFormatter so that format string is 
    specified at construction time. Deprecated no arguements constructor
    and setFormat() method.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Added StackIntrospector class that is amalgamation of utility code supplied by
    Stuart Roebuck (stuart.roebuck@adolos.co.uk) and  Sylvain 
    Wallez (sylvain.wallez@anyware-tech.com).
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Right justified fields are cropped on the left. ie [%-20.20{context}] changes from 
    outputting "[org.apache.log.forma]" to "[mat.PatternFormatter]".
   (SR)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Made Hierarchy.log() deal gracefully with a null exception parameter.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Added stylesheet to convert Stylebook markup to DocBook markup.
   (BL)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Deprecated AvalonFormatter and created a new Formatter inside Avalon project.
   (BL)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Changed the documentation build process to use Cocoon to build
    the site.
   (BL)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Deprecated FilterTarget it was rarely (never?) used and offers only minor 
    advantages over directly using sub-classes.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Added XMLFormatter to enable writing logs in XML format.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Made priority serializable.
   (PD)</li>
</ul>
</font></td>
</tr>
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0b3 
                   (July 22, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Added setPriority() method to Priority filter to allow modification of 
    filter properties at runtime.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Deprecated Logger.getCategory as it violates the Inversion Of Control principle.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Enhanced FileOutputLogTarget to enable it to be used to append to a file, rather than overwrite.
   (PD)</li>
</ul>
</font></td>
</tr>
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0b2 
                   (June 4, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
    Beta 2 release.
   (BL)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
    Update documentation so that you can get started easily.
   (PD)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
    Fixed logical error in PriorityFilter.  The code _used_ to allow
    anything up to a priority level (i.e. if priority was set to
    ERROR, then it would allow DEBUG, INFO, and WARN).  Now it
    operates correctly (i.e. if priority was set to ERROR, then
    it will allow ERROR and FATAL_ERROR).
   (BL)</li>
</ul>
</font></td>
</tr>
<tr>
<td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff"><b>Revision 1.0b1 
                   (May 11, 2001)
                </b></font></td>
</tr>
<tr>
<td><font face="arial,helvetica,sanserif" color="#000000">
<br>
<ul>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">First public release. (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Renamed LogEntry to LogEvent. This was done as Entry was a misnomer.
  It was a misnomer as each Entry could in fact never be placed in
  logs or placed in multiple logs. It is up to the LogTargets how to 
  treat the event and whether or not to convert the event into an entry.
  Updated all interfaces that referred to entry to refer to event.
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
  Added getCurrentContextStack() to ContextStack class and made the
  method with same name in LogKit delegate to ContextStack.getCurrentContextStack()
   (PD)</li>
<li>
<img src="images/add.jpg" border="0" alt="added" align="absmiddle">
  Added getDefaultLogEngine() to LogEngine and made the method with same name
  in LogKit delegate to LogEngine.getDefaultLogEngine()
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Made Priority a class in place of Priority.Enum class. Converted constants
  to use this interface. Added getPriorityForName() method and made LogKit
  method of same name delegate to it.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Made ContextStack contain objects other than strings.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Made each hierarchy extend from a root Logger about category "". Also put
  default log target into this Logger. Thus no longer *need* getDefaultLogTarget
  method in LogEngine/LogKit - thus it was removed.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Made each logger cache a version of logTargets. Combine this with the root logger
  containing default log target means that you no longer have to recursively
  check parents to get LogTargets or check the engine. This is considerably 
  faster.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Made "category" behave identically to logTarget inheritance wise.
  Each logger caches priority when it is inherited from parents. This is
  slightly faster than old version.
   (PD)</li>
<li>
<img src="images/remove.jpg" border="0" alt="deleted" align="absmiddle">
  Merged "Category" object into Logger. This required adding getPriority to 
  Logger and making Logger.getCategory() return name of category rather than
  Category object.
   (PD)</li>
<li>
<img src="images/fix.jpg" border="0" alt="off" align="absmiddle">
  Protected logger manipulation by synchronized sections
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Made ServletOutputTarget not filter - leave that to a separate FilterTarget
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Moved instance variables to private instead of protected were appopriate.
  This allows to decrease maintanence cost just in case someone inherits
  from one of our classes.
   (PD)</li>
<li>
<img src="images/remove.jpg" border="0" alt="deleted" align="absmiddle">
  Removed the hashtable that stored log targets as it can be easily done
  by users of LogKit and wasn't serving any real purpose.
   (PD)</li>
<li>
<img src="images/update.jpg" border="0" alt="changed" align="absmiddle">
  Renamed LogEngine to Hierarchy to match Log4j and allow easy cross migration
   (PD)</li>
</ul>
</font></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<br>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<hr size="1" noshade="">
</td>
</tr>
<tr>
<td align="center"><font color="#525D76" size="-1" face="arial,helvetica,sanserif"><i>
              Copyright &copy;1999-2001 by the Apache Software Foundation.
              All Rights Reserved.
            </i></font></td>
</tr>
</table>
</body>
</html>