Methods |
public
|
get_webserver_log_usage(): int|null
Get webserver log usage
|
#
|
public
|
list_logfiles(): array
array list_logfiles()
|
#
|
public
|
add_logfile(string $domain, string $subdomain, string $file): bool
bool add_logfile(string, string, string)
bool add_logfile(string, string, string)
|
#
|
public
|
add_log_rotation_profile(string $log, string $profile = 'apache'): bool
bool add_log_rotation_profile(string)
bool add_log_rotation_profile(string)
|
#
|
public
|
remove_logfile(string $domain, string $subdomain): bool
bool remove_logfile(string, string)
bool remove_logfile(string, string)
|
#
|
public
|
remove_log_rotation_profile(string $log, string $profile = 'apache'): bool
bool remove_log_rotation_profile(string)
bool remove_log_rotation_profile(string)
|
#
|
public
|
set_logrotate(array|string $params, mixed|null $value = null): bool
Set global logrotation parameters
Set global logrotation parameters
|
#
|
public
|
validate_config(): bool
Validate logrotate configuration
Validate logrotate configuration
|
#
|