1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  package org.abstracthorizon.danube.support.logging;
14  
15  import org.abstracthorizon.pasulj.PasuljInfo;
16  
17  
18  
19  
20  
21  
22  public class AccessLogConnectionHandlerBeanInfo extends PasuljInfo {
23  
24      
25  
26  
27      public AccessLogConnectionHandlerBeanInfo() {
28          this(AccessLogConnectionHandler.class);
29      }
30  
31      
32  
33  
34  
35      protected AccessLogConnectionHandlerBeanInfo(Class<?> cls) {
36          super(cls);
37      }
38  
39      
40  
41  
42      public void init() {
43          addProperty("logPattern", "Log pattern. Use following: %A-local IP, %a-remote IP, %p-local port, %h-remote host name, %T-time secs, %D-time millis, %t-datetime in commong log format");
44  
45          addProperty("connectionHandler", "Connection handler", true, false);
46          addProperty("logFileRotator", "Log file rotator", true, false);
47      }
48  
49  }