in src/main/java/org/apache/sling/reqanalyzer/impl/RequestAnalysisLogger.java [68:83]
private void activate(final BundleContext ctx) throws IOException {
final File logFile = new File(settings.getSlingHomePath(), "logs/requesttracker.txt");
logFile.getParentFile().mkdirs();
final FileOutputStream out = new FileOutputStream(logFile, true);
this.logFile = new BufferedWriter(new OutputStreamWriter(out, "UTF-8"));
this.requestAnalyzerWebConsole = new RequestAnalyzerWebConsole(logFile);
this.webConsolePlugin = ctx.registerService("javax.servlet.Servlet", this.requestAnalyzerWebConsole,
new Hashtable<String, Object>() {
{
put("felix.webconsole.label", "requestanalyzer");
put("felix.webconsole.title", "Request Analyzer");
put("felix.webconsole.category", "Sling");
}
});
}