$OpenBSD: patch-src_modes_apache_apacheConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
--- src/modes/apache/apacheConfiguration.h.orig	Mon Sep 27 23:52:09 2010
+++ src/modes/apache/apacheConfiguration.h	Fri Nov  4 02:50:32 2011
@@ -51,11 +51,21 @@ class ApacheConfiguration : public LogModeConfiguratio
 			configuration->setCurrentGroup(QLatin1String( "ApacheLogMode" ));
 
 			QStringList defaultApachePaths;
+#if defined(__OpenBSD__)
+			defaultApachePaths << QLatin1String( "/var/apache2/logs/error_log" );
+			defaultApachePaths << QLatin1String( "/var/www/logs/error_log" );
+#else
 			defaultApachePaths << QLatin1String( "/var/log/apache2/error.log" );
+#endif
 			configuration->addItemStringList(QLatin1String( "ApacheLogFilesPaths" ), d->apachePaths, defaultApachePaths, QLatin1String( "ApacheLogFilesPaths" ));
 
 			QStringList defaultApacheAccessPaths;
+#if defined(__OpenBSD__)
+			defaultApacheAccessPaths << QLatin1String( "/var/apache2/logs/access_log" );
+			defaultApacheAccessPaths << QLatin1String( "/var/www/logs/access_log" );
+#else
 			defaultApacheAccessPaths << QLatin1String( "/var/log/apache2/access.log" );
+#endif
 			configuration->addItemStringList(QLatin1String( "ApacheAccessLogFilesPaths" ), d->apacheAccessPaths, defaultApacheAccessPaths, QLatin1String( "ApacheAccessLogFilesPaths" ));
 		}
 
