ref #10072 comment usage of log4j12 in LoggingConfigurer and cdmlib-io in general...
[cdmlib.git] / cdmlib-commons / src / test / java / eu / etaxonomy / cdm / common / UuidGenerator.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9 package eu.etaxonomy.cdm.common;
10
11 import java.util.UUID;
12
13 import org.apache.logging.log4j.LogManager;
14 import org.apache.logging.log4j.Logger;
15
16 /**
17 * @author a.mueller
18 */
19 public class UuidGenerator {
20 private static final Logger logger = LogManager.getLogger();
21
22 private static int n = 100;
23
24 public static void main(String[] args) {
25 if (logger.isDebugEnabled()){logger.debug("create UUIDs");}
26 for (int i = 0; i < n; i++){
27 System.out.println(UUID.randomUUID());
28 }
29 }
30 }