function events($text)
{
    $f = new debuglogs();
    $pf = md5($_GET["PATH_RESTORE"]);
    echo $text . "\n";
    $f->events(basename(__FILE__) . " {$text}", "/var/log/artica-postfix/artica-restore-{$pf}.debug");
}
Example #2
0
function events($text)
{
    $q = new debuglogs();
    $text = dirname(__FILE__) . " " . $text;
    if ($GLOBALS["DEBUG"]) {
        echo $text . "\n";
    }
    $q->events($text, "/var/log/artica-postfix/postfix-logger.sql.debug");
}
function events($text)
{
    $pid = getmypid();
    $date = date("Y-m-d H:i:s");
    $text = "{$date} [{$pid}] {$text}";
    $f = new debuglogs();
    echo $text . "\n";
    $f->events(basename(__FILE__) . " {$text}", "/usr/share/artica-postfix/ressources/logs/cyr.repair.{$GLOBALS["uid"]}");
}
Example #4
0
function events($text, $function, $line = 0)
{
    $l = new debuglogs();
    $filename = basename(__FILE__);
    $l->events("{$filename} {$function}:: {$text} (L.{$line})", "/var/log/artica-postfix/executor-daemon.log");
}
Example #5
0
function events($text)
{
    $d = new debuglogs();
    $logFile = "/var/log/artica-postfix/artica-swap-monitor.debug";
    $d->events(basename(__FILE__) . " {$text}", $logFile);
}
Example #6
0
function events($text)
{
    $q = new debuglogs();
    $text = dirname(__FILE__) . " " . $text;
    $q->events($text, "/var/log/artica-postfix/mysql.upgrade.log");
}
function RTMevents($text)
{
    $f = new debuglogs();
    $f->events(basename(__FILE__) . " {$text}", "/var/log/artica-postfix/artica-status.debug");
}
Example #8
0
function events($text)
{
    if (!isset($GLOBALS["ARTICALOGDIR"])) {
        $GLOBALS["ARTICALOGDIR"] = @file_get_contents("/etc/artica-postfix/settings/Daemons/ArticaLogDir");
        if ($GLOBALS["ARTICALOGDIR"] == null) {
            $GLOBALS["ARTICALOGDIR"] = "/var/log/artica-postfix";
        }
    }
    if ($GLOBALS["VERBOSE"]) {
        echo $text . "\n";
    }
    include_once dirname(__FILE__) . "/framework/class.unix.inc";
    $logFile = "{$GLOBALS["ARTICALOGDIR"]}/artica-status.debug";
    $f = new debuglogs();
    $f->debuglogs($text);
}
function events($text)
{
    $l = new debuglogs();
    $i = basename(__FILE__);
    $l->events("[{$i}] {$text}", "/var/log/artica-postfix/artica-orders.debug");
}
Example #10
0
function events($text)
{
    $logFile = "/var/log/artica-postfix/artica-status.debug";
    $f = new debuglogs();
    $f->debuglogs($text);
}
function events($text)
{
    include_once dirname(__FILE__) . '/framework/class.unix.inc';
    $d = new debuglogs();
    $logFile = "/var/log/artica-postfix/artica-status.debug";
    $d->events(basename(__FILE__) . " {$text}", $logFile);
}
function RTMevents($text)
{
    $f = new debuglogs();
    $f->events(basename(__FILE__) . " {$text}", "{$GLOBALS["ARTICALOGDIR"]}/artica-status.debug");
}
function events($text)
{
    $d = new debuglogs();
    $logFile = "/var/log/artica-postfix/artica-status.debug";
    writelogs($text, "NONE", __FILE__, __LINE__);
    $d->events(basename(__FILE__) . " {$text}", $logFile);
}
Example #14
0
function events($text,$function,$line=0){
		$l=new debuglogs();
		$filename=basename(__FILE__);
		$l->events("$filename $function:: $text (L.$line)","/var/log/artica-postfix/executor-daemon.log");
		}
Example #15
0
function events($text)
{
    include_once dirname(__FILE__) . "/framework/class.unix.inc";
    $logFile = "/var/log/artica-postfix/artica-status.debug";
    $f = new debuglogs();
    $f->debuglogs($text);
}