Logs_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# __construct( )
{{{ void __construct(void)

ignore


Overrides

public
# get_webserver_log_usage( )
Get webserver log usage
public
# list_logfiles( )
array list_logfiles()
public
# add_logfile( string $domain , string $subdomain , string $file )
bool add_logfile(string, string, string)
public
# add_log_rotation_profile( string $log , $profile = 'apache' )
bool add_log_rotation_profile(string)
public
# remove_logfile( string $domain , string $subdomain )
bool remove_logfile(string, string)
public
# remove_log_rotation_profile( string $log , $profile = 'apache' )
bool remove_log_rotation_profile(string)
public
# validate_config( )
Validate logrotate configuration
public
# set_logrotate( $data )
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'apache', )
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql