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
# set_logrotate( $data )
public
# validate_config( )
Validate logrotate configuration
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
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