Skip to content

Commit 3498837

Browse files
author
florian030
committed
increse default retention time for web-logs
1 parent d98002e commit 3498837

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ ALTER TABLE `web_domain` ADD COLUMN `ssl_letsencrypt_exclude` enum('n','y') NOT
22
ALTER TABLE `remote_user` ADD `remote_access` ENUM('y','n') NOT NULL DEFAULT 'y' AFTER `remote_password`;
33
ALTER TABLE `remote_user` ADD `remote_ips` TEXT AFTER `remote_access`;
44
ALTER TABLE `server_php` ADD `active` enum('y','n') NOT NULL DEFAULT 'y' AFTER `php_fpm_pool_dir`;
5+
ALTER TABLE `web_domain` CHANGE `log_retention` `log_retention` INT(11) NOT NULL DEFAULT '10';

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ CREATE TABLE `web_domain` (
19901990
`http_port` int(11) unsigned NOT NULL DEFAULT '80',
19911991
`https_port` int(11) unsigned NOT NULL DEFAULT '443',
19921992
`folder_directive_snippets` text,
1993-
`log_retention` int(11) NOT NULL DEFAULT '30',
1993+
`log_retention` int(11) NOT NULL DEFAULT '10',
19941994
PRIMARY KEY (`domain_id`),
19951995
UNIQUE KEY `serverdomain` ( `server_id` , `ip_address`, `domain` )
19961996
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

0 commit comments

Comments
 (0)