/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/Lookup.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/Lookup.java

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

revision 2208 by torben, Thu Sep 11 16:44:04 2014 UTC revision 2214 by torben, Fri Sep 12 06:42:29 2014 UTC
# Line 2  package dk.daoas.fulddaekning; Line 2  package dk.daoas.fulddaekning;
2    
3  import java.io.File;  import java.io.File;
4  import java.io.FileReader;  import java.io.FileReader;
 import java.util.ArrayList;  
5  import java.util.List;  import java.util.List;
6  import java.util.Map;  import java.util.Map;
 import java.util.Properties;  
7  import java.util.Queue;  import java.util.Queue;
8  import java.util.concurrent.ConcurrentHashMap;  import java.util.concurrent.ConcurrentHashMap;
9    import java.util.logging.FileHandler;
10  import java.util.logging.Level;  import java.util.logging.Level;
11  import java.util.logging.Logger;  import java.util.logging.Logger;
12    import java.util.logging.SimpleFormatter;
13    
14  import dk.daoas.fulddaekning.BoundingBox.BoundingBoxException;  import dk.daoas.fulddaekning.BoundingBox.BoundingBoxException;
15    
# Line 166  public class Lookup { Line 166  public class Lookup {
166                    
167          public static void main(String[] args) throws Exception {          public static void main(String[] args) throws Exception {
168                                    
169                    //Setup j.u.l Logger
170                    Logger root = Logger.getLogger("");
171                    FileHandler fhandler = new FileHandler("fulddaekning.log"); // Ingen max størrelse, ingen rotation og ingen append
172                    fhandler.setFormatter( new SimpleFormatter() );
173                    root.addHandler( fhandler );
174                    
175                    
176                    
177                    
178                    
179                  File confFile = new File( CONFIG_FILENAME );                  File confFile = new File( CONFIG_FILENAME );
180                  if (! confFile.exists() ) {                  if (! confFile.exists() ) {
181                          logger.warning("Config file not found: " + CONFIG_FILENAME);                          logger.warning("Config file not found: " + CONFIG_FILENAME);

Legend:
Removed from v.2208  
changed lines
  Added in v.2214

  ViewVC Help
Powered by ViewVC 1.1.20