Add an enable button, to disable Logging.
Refactor out logging code into its own module for cleanliness.
This commit is contained in:
parent
f676bfc536
commit
4df4862c68
4 changed files with 23 additions and 10 deletions
|
|
@ -95,13 +95,14 @@ sub installPassiveAnalyticsRule {
|
|||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the PassiveAnalytics Rule table
|
||||
# Add the PassiveAnalytics Settings
|
||||
sub addPassiveAnalyticsSettings {
|
||||
my $session = shift;
|
||||
print "\tInstall Passive Analytics settings... ";
|
||||
# and here's our code
|
||||
$session->setting->add('passiveAnalyticsInterval', 300);
|
||||
$session->setting->add('passiveAnalyticsDeleteDelta', 0);
|
||||
$session->setting->add('passiveAnalyticsEnabled', 0);
|
||||
print "DONE!\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue