00001 /*! 00002 * \file log/server/src/config.h 00003 * \brief Log-Server compile-time configuration 00004 * 00005 * \date 03/05/2001 00006 * \author Jork Loeser <jork.loeser@inf.tu-dresden.de> 00007 * 00008 */ 00009 /* (c) 2003 Technische Universitaet Dresden 00010 * This file is part of DROPS, which is distributed under the terms of the 00011 * GNU General Public License 2. Please see the COPYING file for details. 00012 */ 00013 00014 #ifndef __LOG_SERVER_SRC_CONFIG_H_ 00015 #define __LOG_SERVER_SRC_CONFIG_H_ 00016 00017 //! The port-number we are listening on 00018 #define PORT_NR 23 00019 00020 //! The size of the internal buffer to hold the logged data 00021 #define OUTPUT_BUFFER_SIZE (128*1024) 00022 00023 //! The max. number of bootp retries 00024 #define CONFIG_BOOTP_RETRIES 5 00025 00026 //! The timeout for bootp requests in ms 00027 #define CONFIG_BOOTP_TIMEOUT 5000 00028 00029 00030 /* Logging configuration follows. 00031 * 00032 * \note The logging the log-server does, is NOT forwarded to the 00033 * tcpip-connection, it goes directly to the kernel-debug 00034 * interface. 00035 */ 00036 00037 //! Set CONFIG_LOG_LOCK to 1 if you want log-output on locking activities. 00038 #define CONFIG_LOG_LOCK 0 00039 00040 //! Set CONFIG_LOG_REQUESTS to 1 if you want to see client-log requests. 00041 #define CONFIG_LOG_REQUESTS 0 00042 00043 //! Set CONFIG_LOG_RINGBUFFER if you want to log activities on the ringbuffer. 00044 #define CONFIG_LOG_RINGBUFFER 0 00045 00046 //! Set CONFIG_LOG_TCPIP if you want logging of tcpip-related actions. 00047 #define CONFIG_LOG_TCPIP 0 00048 00049 //! Set CONFIG_LOG_IPC to log the IPCs between the logserver's threads. 00050 #define CONFIG_LOG_IPC 0 00051 00052 //! Set CONFIG_LOG_NOTICE if you want state-information (recommended). 00053 #define CONFIG_LOG_NOTICE 1 00054 00055 #endif