diff --git a/cpu/6502/6502def.h b/cpu/6502/6502def.h
index db3ce9b77..24d9530cf 100644
--- a/cpu/6502/6502def.h
+++ b/cpu/6502/6502def.h
@@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt
*
- * @(#)$Id: 6502def.h,v 1.8 2008/01/01 17:44:24 oliverschmidt Exp $
+ * @(#)$Id: 6502def.h,v 1.9 2008/01/01 19:47:03 oliverschmidt Exp $
*/
#ifndef __6502DEF_H__
@@ -62,6 +62,12 @@ typedef unsigned short uip_stats_t;
#define UIP_ARCH_ADD32 1
#define UIP_ARCH_CHKSUM 1
+#if WITH_LOGGING
+#define LOG_CONF_ENABLED 1
+#else /* WITH_LOGGING */
+#define LOG_CONF_ENABLED 0
+#endif /* WITH_LOGGING */
+
#if MTU_SIZE
#define UIP_CONF_BUFFER_SIZE (UIP_LLH_LEN + MTU_SIZE)
#else /* MTU_SIZE */
diff --git a/platform/apple2enh/contiki-conf.h b/platform/apple2enh/contiki-conf.h
index 112c6cc36..fee80f8e9 100644
--- a/platform/apple2enh/contiki-conf.h
+++ b/platform/apple2enh/contiki-conf.h
@@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt
*
- * $Id: contiki-conf.h,v 1.12 2008/01/01 18:49:50 oliverschmidt Exp $
+ * $Id: contiki-conf.h,v 1.13 2008/01/01 19:47:53 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@@ -40,8 +40,6 @@
#include "pfs.h"
-#define LOG_CONF_ENABLED 1
-
#define UIP_CONF_LOGGING 0
#define CTK_CONF_MENU_KEY CH_ESC
diff --git a/platform/c64/contiki-conf.h b/platform/c64/contiki-conf.h
index 419d2219f..b3613d9e3 100644
--- a/platform/c64/contiki-conf.h
+++ b/platform/c64/contiki-conf.h
@@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt
*
- * $Id: contiki-conf.h,v 1.14 2007/12/23 13:57:25 oliverschmidt Exp $
+ * $Id: contiki-conf.h,v 1.15 2008/01/01 19:48:46 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@@ -38,8 +38,6 @@
#include "6502def.h"
-#define LOG_CONF_ENABLED 1
-
#define UIP_CONF_LOGGING 0
#define CTK_CONF_MENU_KEY CH_F1