Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/opencms/boot/I_CmsLogChannels.java


1   /*
2   * File   : $Source: /usr/local/cvs/opencms/src/com/opencms/boot/Attic/I_CmsLogChannels.java,v $
3   * Date   : $Date: 2002/10/30 10:01:12 $
4   * Version: $Revision: 1.11 $
5   *
6   * This library is part of OpenCms -
7   * the Open Source Content Mananagement System
8   *
9   * Copyright (C) 2001  The OpenCms Group
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public
13  * License as published by the Free Software Foundation; either
14  * version 2.1 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * Lesser General Public License for more details.
20  *
21  * For further information about OpenCms, please see the
22  * OpenCms Website: http://www.opencms.org
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27  */
28  
29  package com.opencms.boot;
30  
31  
32  /**
33   * Common interface for OpenCms logging,
34   * constants used for logging purposes are defined here.
35   *
36   * @author Alexander Lucas
37   * @author Andreas Schouten
38   * 
39   * @version $Revision: 1.11 $ $Date: 2002/10/30 10:01:12 $
40   */
41  public interface I_CmsLogChannels {
42  
43      /**
44       * This static final constant is a "preprocessor" constant. If it is set to
45       * true - all logging-code is enabled and will be compiled into the classes.
46       * If it is set to false the logging-code will not be compiled into the
47       * classes. All resulting classes will shrink in size and OpenCms will
48       * perform much better. For live-systems you could set this to false, 
49       * in case you really have performance issues.
50       *
51       * If logging is disabled here, you can't switch it on again via the
52       * opencms.properties!
53       *
54       * This value should generally be set to true!
55       */
56      public static final boolean C_PREPROCESSOR_IS_LOGGING = true;
57      public static final boolean C_LOGGING = C_PREPROCESSOR_IS_LOGGING;
58      
59      /** Debugging messages */
60      public static final String C_OPENCMS_INIT = "opencms_init";
61  
62      /** Debugging messages */
63      public static final String C_OPENCMS_DEBUG = "opencms_debug";
64  
65      /** Cache messages */
66      public static final String C_OPENCMS_CACHE = "opencms_cache";
67  
68      /** Debugging messages for the streaming mode */
69      public static final String C_OPENCMS_STREAMING = "opencms_streaming";
70  
71      /** Informational messages */
72      public static final String C_OPENCMS_INFO = "opencms_info";
73  
74      /** Critical messages that stop further processing */
75      public static final String C_OPENCMS_CRITICAL = "opencms_critical";
76  
77      /** Debugging messages for the dbpool */
78      public static final String C_OPENCMS_POOL = "opencms_pool";
79  
80      /** Messages of the new OpenCms element cache */
81      public static final String C_OPENCMS_ELEMENTCACHE = "opencms_elementcache";
82  
83      /** Messages of the OpenCms Scheduler */
84      public static final String C_OPENCMS_CRONSCHEDULER = "opencms_cronscheduler";
85  
86      /** Messages of the static export */
87      public static final String C_OPENCMS_STATICEXPORT = "opencms_staticexport";
88  
89  
90      /** Debugging messages */
91      public static final String C_MODULE_DEBUG = "module_debug";
92  
93      /** Informational messages */
94      public static final String C_MODULE_INFO = "module_info";
95  
96      /** Critical messages that stop further processing */
97      public static final String C_MODULE_CRITICAL = "module_critical";
98      
99      
100     /** Flex cache messages */
101     public static final String C_FLEX_CACHE = "flex_cache";
102     
103     /** Flex loader messages */
104     public static final String C_FLEX_LOADER = "flex_loader"; 
105 }