Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Bye bye php closing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Jun 16, 2014
1 parent 352a649 commit bc8f699
Show file tree
Hide file tree
Showing 39 changed files with 3 additions and 72 deletions.
4 changes: 2 additions & 2 deletions README
Expand Up @@ -51,7 +51,7 @@ How it works: performance logging
. the Monolog logging library
. a Pinba server
. an Odoscope server
. a Stasd server
. a Statsd server
and in the future possibly even more.

Logging to the Apache access log is recommended for a number of reasons: by default
Expand All @@ -75,7 +75,7 @@ How it works: performance logging
NB: the extension does not provide a way to visualize the logged
data, you will need an external tool for that:
. for data streamed to the Apache log or a separate log file, a spreadsheet program which can import csv files
. for data streamed to piwik, ga, odoscope or statsd/grpahite, use the analytics tool web interface
. for data streamed to piwik, ga, odoscope or statsd/graphite, use the analytics tool web interface

Notes:
- measured script runtime is a bit shorter than reality, as we can not hook at the very beginning and end of php process execution
Expand Down
1 change: 0 additions & 1 deletion autoloads/ezperformanceloggeroperators.php
Expand Up @@ -98,4 +98,3 @@ function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $curr
}

}
?>
2 changes: 0 additions & 2 deletions autoloads/eztemplateautoload.php
Expand Up @@ -10,5 +10,3 @@
'class' => 'eZPerformanceLoggerOperators',
'operator_names' => array_keys( eZPerformanceLoggerOperators::$operators )
);

?>
2 changes: 0 additions & 2 deletions bin/php/extractdatafromaccesslog.php
Expand Up @@ -132,5 +132,3 @@
}

$script->shutdown();

?>
2 changes: 0 additions & 2 deletions bin/php/muninplugin.php
Expand Up @@ -208,5 +208,3 @@
}

$script->shutdown();

?>
2 changes: 0 additions & 2 deletions bin/php/rotateperflogs.php
Expand Up @@ -48,5 +48,3 @@
}

$script->shutdown();

?>
2 changes: 0 additions & 2 deletions bin/php/updateperfstats.php
Expand Up @@ -78,5 +78,3 @@
$cli->output( "Perf counters have been updated\n" );

$script->shutdown();

?>
2 changes: 0 additions & 2 deletions classes/ezperflogger.php
Expand Up @@ -680,5 +680,3 @@ public static function timeAccumulatorList()
}

}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggerapachelogger.php
Expand Up @@ -154,5 +154,3 @@ static public function setOptions( array $opts )

}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggercsvstorage.php
Expand Up @@ -89,5 +89,3 @@ static public function setOptions( array $opts )
{
}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggereventlistener.php
Expand Up @@ -56,5 +56,3 @@ public static function supportedVariables()
return $desc;
}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggerlogmanager.php
Expand Up @@ -235,5 +235,3 @@ public static function rotateLogs( $dir, $filename, $maxSize=0, $maxFiles=0 )
}

}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggermemstorage.php
Expand Up @@ -59,5 +59,3 @@ public static function resetStats()
}
}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggermonologlogger.php
Expand Up @@ -59,5 +59,3 @@ public static function doLog( $logmethod, array $data, &$output )
}
}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggerodoscopelogger.php
Expand Up @@ -50,5 +50,3 @@ protected static function generateJSEventsFunctionCalls( $data )
return $text;
}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggerpinbalogger.php
Expand Up @@ -91,5 +91,3 @@ protected static function _timer_get_info($timer, $time)
return array();
}
}

?>
2 changes: 0 additions & 2 deletions classes/ezperfloggerurlextractorstorage.php
Expand Up @@ -74,5 +74,3 @@ public static function setOptions( $opts )
self::$options = array_merge( self::$options, $opts );
}
}

?>
2 changes: 0 additions & 2 deletions cronjobs/removexhprofdata.php
Expand Up @@ -12,5 +12,3 @@

if ( !$isQuiet )
$cli->output( "XHProf saved runs data removed" );

?>
2 changes: 0 additions & 2 deletions cronjobs/rotateperflogs.php
Expand Up @@ -31,5 +31,3 @@

if ( !$isQuiet )
$cli->output( "Log files rotated" );

?>
2 changes: 0 additions & 2 deletions cronjobs/updateperfstats.php
Expand Up @@ -44,5 +44,3 @@

if ( !$isQuiet )
$cli->output( "Perf counters have been updated" );

?>
1 change: 0 additions & 1 deletion ezinfo.php
Expand Up @@ -16,4 +16,3 @@ static function info()
);
}
}
?>
2 changes: 0 additions & 2 deletions interfaces/ezperfloggerfilter.php
Expand Up @@ -22,5 +22,3 @@ interface eZPerfLoggerFilter
*/
public static function shouldLog( array $data, $output );
}

?>
2 changes: 0 additions & 2 deletions interfaces/ezperfloggerlogger.php
Expand Up @@ -29,5 +29,3 @@ public static function supportedLogMethods();
*/
public static function doLog( $logmethod, array $data, &$ouput );
}

?>
2 changes: 0 additions & 2 deletions interfaces/ezperfloggerlogparser.php
Expand Up @@ -14,5 +14,3 @@ static public function parseLogLine( $line, $counters = array(), $excludeRegexps

static public function setOptions( array $opts );
}

?>
2 changes: 0 additions & 2 deletions interfaces/ezperfloggerprovider.php
Expand Up @@ -26,5 +26,3 @@ public static function measure( $output, $returnCode=null );
*/
public static function supportedVariables();
}

?>
2 changes: 0 additions & 2 deletions interfaces/ezperfloggerstorage.php
Expand Up @@ -23,5 +23,3 @@ interface eZPerfLoggerStorage
*/
public static function insertStats( array $data );
}

?>
2 changes: 0 additions & 2 deletions interfaces/ezperfloggertimemeasurer.php
Expand Up @@ -31,5 +31,3 @@ public static function accumulatorStop( $id );
*/
public static function TimeAccumulatorList();
}

?>
2 changes: 0 additions & 2 deletions lib/pinba_php/pinba.php
Expand Up @@ -455,5 +455,3 @@ static function init( $time=null )

// try to start time measurement as soon as we can
pinba::init();

?>
2 changes: 0 additions & 2 deletions lib/pinba_php/prtbfr.php
Expand Up @@ -256,5 +256,3 @@ protected static function isBigEndian()
return self::$_endianness === self::BIG_ENDIAN;
}
}

?>
3 changes: 0 additions & 3 deletions modules/graphite/module.php
Expand Up @@ -20,6 +20,3 @@
$FunctionList = array(
'view' => array()
);


?>
2 changes: 0 additions & 2 deletions modules/munin/module.php
Expand Up @@ -20,5 +20,3 @@
$FunctionList = array(
'view' => array()
);

?>
2 changes: 0 additions & 2 deletions modules/xhprof/module.php
Expand Up @@ -41,5 +41,3 @@
$FunctionList = array(
'view' => array()
);

?>
2 changes: 1 addition & 1 deletion settings/cronjob.ini.append.php
Expand Up @@ -11,4 +11,4 @@

[CronjobPart-rotateperflogs]
Scripts[]=rotateperflogs.php
*/ ?>

1 change: 0 additions & 1 deletion settings/design.ini.append.php
Expand Up @@ -18,4 +18,3 @@
# Make sure you have jQuery loaded, either via ezjscore or some other means
#JavaScriptList[]=ezxhprof.js

*/ ?>
2 changes: 0 additions & 2 deletions settings/file.ini.append.php
Expand Up @@ -24,5 +24,3 @@
#DBBackend=eZDFSFileHandlerTracing47MySQLiBackend
#DBBackend=eZDFSFileHandlerTracing50MySQLiBackend
#DBBackend=eZDFSFileHandlerTracing51MySQLiBackend
*/?>
1 change: 0 additions & 1 deletion settings/image.ini.append.php
Expand Up @@ -15,4 +15,3 @@
#Handler=eZImageTracing50ShellFactory
#Handler=eZImageTracing51ShellFactory

*/ ?>
1 change: 0 additions & 1 deletion settings/menu.ini.append.php
Expand Up @@ -11,4 +11,3 @@
Links[graphite]=graphite/display
LinkNames[graphite]=Graphite monitoring

*/ ?>
1 change: 0 additions & 1 deletion settings/module.ini.append.php
Expand Up @@ -7,4 +7,3 @@
ModuleList[]=graphite
ModuleList[]=munin

*/ ?>
2 changes: 0 additions & 2 deletions settings/site.ini.append.php
Expand Up @@ -37,5 +37,3 @@
#ImplementationAlias[ezmysqli]=eZMySQLiTracing47DB
#ImplementationAlias[ezmysqli]=eZMySQLiTracing50DB
#ImplementationAlias[ezmysqli]=eZMySQLiTracing51DB
*/ ?>

0 comments on commit bc8f699

Please sign in to comment.