Author: Lars Michelsen <[email protected]>
Date: Tue Dec 17 13:51:56 2013 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Tue Dec 17 13:51:56 2013 +0100
Updated docs on the default setting of disabled audit log
---
docs/de_DE/nagvis_config_format_description.html | 2 +-
docs/en_US/nagvis_config_format_description.html | 2 +-
etc/nagvis.ini.php-sample | 2 +-
share/server/core/classes/CoreAuthHandler.php | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/de_DE/nagvis_config_format_description.html
b/docs/de_DE/nagvis_config_format_description.html
index a31a6f0..c82b18c 100644
--- a/docs/de_DE/nagvis_config_format_description.html
+++ b/docs/de_DE/nagvis_config_format_description.html
@@ -78,7 +78,7 @@
<th width="200">Wert</th><th
width="150">Default</th><th>Beschreibung</th>
</tr>
<tr>
- <td>audit_log</td><td>1</td><td>Aktivieren/deaktiviern der
Protokollierung von sicherheitsrelevanten Benutzeraktionen in NagVis.
Benutzeran- und abmeldungen werden z.B. in var/nagvis-audit.log
protokolliert.</td>
+ <td>audit_log</td><td>0</td><td>Aktivieren/deaktiviern der
Protokollierung von sicherheitsrelevanten Benutzeraktionen in NagVis.
Benutzeran- und abmeldungen werden z.B. in var/nagvis-audit.log
protokolliert.</td>
</tr>
<tr>
<td>authmodule</td><td>CoreAuthModSQLite</td><td>Definiert das zu
benutzende Authentifizierungsmodul. Per Default benutzt NagVis das eingebaute
SQLite-Authentifizierungsmodul. Bei der Auslieferung ist kein anderes
Authentifizierungsmodul verfügbar. Es ist möglich, andere
Authentifizierungsmodule hinzuzufügen, um andere
Authentifizierungsmechanismen zu unterstützen. Weitere Einzelheiten finden
Sie in der <a
href="auth_modules">Authentifizierungsmodul</a>-Dokumentation</td><td>
diff --git a/docs/en_US/nagvis_config_format_description.html
b/docs/en_US/nagvis_config_format_description.html
index d69de11..b35da6f 100644
--- a/docs/en_US/nagvis_config_format_description.html
+++ b/docs/en_US/nagvis_config_format_description.html
@@ -58,7 +58,7 @@
<th width="200"> Value </th><th width="150"> Default </th><th>
Description </th>
</tr>
<tr>
- <td>audit_log</td><td>1</td><td>Enable/Disable logging of security
related user actions in Nagvis. For example user logins and logouts are logged
in var/nagvis-audit.log.</td>
+ <td>audit_log</td><td>0</td><td>Enable/Disable logging of security
related user actions in Nagvis. For example user logins and logouts are logged
in var/nagvis-audit.log.</td>
</tr>
<tr>
<td>authmodule</td><td>CoreAuthModSQLite</td><td>Defines the
authentication module to use. By default NagVis uses the built-in SQLite
authentication module. On delivery there is no other authentication module
available. It is possible to add own authentication modules for supporting
other authentication mechanism. For details have a look at the <a
href="auth_modules.html">authentication module</a> documentation.</td>
diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample
index 73acbc0..8c8e408 100644
--- a/etc/nagvis.ini.php-sample
+++ b/etc/nagvis.ini.php-sample
@@ -17,7 +17,7 @@
[global]
; Enable/Disable logging of security related user actions in Nagvis. For
; example user logins and logouts are logged in var/nagvis-audit.log
-;audit_log="1"
+;audit_log="0"
;
; Defines the authentication module to use. By default NagVis uses the built-in
; SQLite authentication module. On delivery there is no other authentication
diff --git a/share/server/core/classes/CoreAuthHandler.php
b/share/server/core/classes/CoreAuthHandler.php
index c13d633..ff0e7d4 100644
--- a/share/server/core/classes/CoreAuthHandler.php
+++ b/share/server/core/classes/CoreAuthHandler.php
@@ -137,7 +137,7 @@ class CoreAuthHandler {
}
public function isAuthenticated() {
- if((bool) cfg('global', 'audit_log') === true)
+ if(cfg('global', 'audit_log') == true)
$ALOG = new CoreLog(cfg('paths', 'var').'nagvis-audit.log',
cfg('global', 'dateformat'));
else
@@ -178,7 +178,7 @@ class CoreAuthHandler {
if(!$enforce && !$this->logoutSupported())
return false;
- if((bool) cfg('global', 'audit_log') === true) {
+ if(cfg('global', 'audit_log') == true) {
$ALOG = new CoreLog(cfg('paths', 'var').'nagvis-audit.log',
cfg('global', 'dateformat'));
$ALOG->l('User logged out ('.$this->getUser().' /
'.$this->getUserId().'): '.$this->sModuleName);
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins