File ksystemlog_suse_log_locations.diff of Package ksystemlog6
Index: ksystemlog/src/logModePluginsLoader.cpp
===================================================================
--- ksystemlog/src/logModePluginsLoader.cpp.orig 2008-02-13 16:45:54.000000000 +0100
+++ ksystemlog/src/logModePluginsLoader.cpp 2010-11-21 17:32:48.952732317 +0100
@@ -65,7 +65,7 @@ void LogModePluginsLoader::loadPlugins()
Globals::instance().registerLogModeFactory(new KernelLogModeFactory());
// Authentication
- Globals::instance().registerLogModeFactory(new AuthenticationLogModeFactory());
+ //Globals::instance().registerLogModeFactory(new AuthenticationLogModeFactory());
// Daemon
Globals::instance().registerLogModeFactory(new DaemonLogModeFactory());
Index: ksystemlog/src/modes/apache/apacheConfiguration.h
===================================================================
--- ksystemlog/src/modes/apache/apacheConfiguration.h.orig 2010-09-27 21:52:09.000000000 +0200
+++ ksystemlog/src/modes/apache/apacheConfiguration.h 2010-11-21 17:33:19.777717487 +0100
@@ -52,12 +52,12 @@ class ApacheConfiguration : public LogMo
configuration->setCurrentGroup(QStringLiteral("ApacheLogMode"));
QStringList defaultApachePaths;
- defaultApachePaths << QStringLiteral("/var/log/apache2/error.log");
+ defaultApachePaths << QStringLiteral("/var/log/apache2/error_log");
configuration->addItemStringList(QStringLiteral("ApacheLogFilesPaths"), d->apachePaths,
defaultApachePaths, QStringLiteral("ApacheLogFilesPaths"));
QStringList defaultApacheAccessPaths;
- defaultApacheAccessPaths << QStringLiteral("/var/log/apache2/access.log");
+ defaultApacheAccessPaths << QStringLiteral("/var/log/apache2/access_log");
configuration->addItemStringList(QStringLiteral("ApacheAccessLogFilesPaths"), d->apacheAccessPaths,
defaultApacheAccessPaths,
QStringLiteral("ApacheAccessLogFilesPaths"));
Index: ksystemlog/src/modes/cron/cronConfiguration.h
===================================================================
--- ksystemlog/src/modes/cron/cronConfiguration.h.orig 2010-09-27 21:52:09.000000000 +0200
+++ ksystemlog/src/modes/cron/cronConfiguration.h 2010-11-21 17:33:59.700717458 +0100
@@ -52,7 +52,7 @@ class CronConfiguration : public LogMode
configuration->setCurrentGroup(QStringLiteral("CronLogMode"));
QStringList defaultCronPaths;
- defaultCronPaths << QStringLiteral("/var/log/syslog");
+ defaultCronPaths << QStringLiteral("/var/log/messages");
configuration->addItemStringList(QStringLiteral("LogFilesPaths"), d->cronPaths, defaultCronPaths,
QStringLiteral("LogFilesPaths"));
Index: ksystemlog/src/modes/system/systemConfiguration.h
===================================================================
--- ksystemlog/src/modes/system/systemConfiguration.h.orig 2010-09-27 21:52:09.000000000 +0200
+++ ksystemlog/src/modes/system/systemConfiguration.h 2010-11-21 17:34:33.298842516 +0100
@@ -38,7 +38,7 @@ class SystemConfiguration : public Gener
public:
SystemConfiguration()
: GenericLogModeConfiguration(QStringLiteral(SYSTEM_LOG_MODE_ID),
- QStringList() << QStringLiteral("/var/log/syslog"),
+ QStringList() << QStringLiteral("/var/log/messages"),
QList<int>() << Globals::INFORMATION_LOG_LEVEL_ID)
{
/*