/[projects]/dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/tasks/TaskLogger.java
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/tasks/TaskLogger.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2903 by torben, Wed Feb 3 18:45:33 2016 UTC revision 2907 by torben, Wed Feb 3 21:27:24 2016 UTC
# Line 9  import org.apache.commons.lang3.exceptio Line 9  import org.apache.commons.lang3.exceptio
9    
10  public class TaskLogger {  public class TaskLogger {
11                    
12          private StringBuilder buffer = new StringBuilder(32*1024);//Reserve 32KB          private StringBuilder buffer = new StringBuilder(1 * 1024 * 1024);// Reserve 1MB
13          private SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss.SSS");          private SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss.SSS");
14                    
15                    
# Line 69  public class TaskLogger { Line 69  public class TaskLogger {
69          /* *******************************************************          /* *******************************************************
70           * Singleton           * Singleton
71           */           */
72          private static TaskLogger instance = null;          private volatile static TaskLogger instance = null;
73          private TaskLogger() {                    private TaskLogger() {          
74          }          }
75                    

Legend:
Removed from v.2903  
changed lines
  Added in v.2907

  ViewVC Help
Powered by ViewVC 1.1.20