Configuration of HTTPDProxyHandler logging

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6425 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 15 years ago
parent 519c3619ff
commit 0fd9540866

@ -129,7 +129,7 @@ public final class HTTPDProxyHandler {
final String className = HTTPDProxyHandler.class.getName(); final String className = HTTPDProxyHandler.class.getName();
// determining if proxy access logging is enabled // determining if proxy access logging is enabled
final String enabled = manager.getProperty("de.anomic.http.httpdProxyHandler.logging.enabled"); final String enabled = manager.getProperty(className + ".logging.enabled");
if ("true".equalsIgnoreCase(enabled)) { if ("true".equalsIgnoreCase(enabled)) {
// reading out some needed configuration properties // reading out some needed configuration properties

@ -58,10 +58,10 @@ net.yacy.kelondro.logging.ConsoleOutErrHandler.formatter=net.yacy.kelondro.loggi
#net.yacy.kelondro.logging.ConsoleOutErrHandler.ignoreCtrlChr=true #net.yacy.kelondro.logging.ConsoleOutErrHandler.ignoreCtrlChr=true
# Properties for the proxy access logger # Properties for the proxy access logger
de.anomic.http.httpdProxyHandler.logging.enabled = TRUE de.anomic.http.server.HTTPDProxyHandler.logging.enabled = TRUE
de.anomic.http.httpdProxyHandler.logging.FileHandler.limit = 1048576 de.anomic.http.server.HTTPDProxyHandler.logging.FileHandler.limit = 1048576
de.anomic.http.httpdProxyHandler.logging.FileHandler.count = 20 de.anomic.http.server.HTTPDProxyHandler.logging.FileHandler.count = 20
de.anomic.http.httpdProxyHandler.logging.FileHandler.pattern = DATA/LOG/proxyAccess%u%g.log de.anomic.http.server.HTTPDProxyHandler.logging.FileHandler.pattern = DATA/LOG/proxyAccess%u%g.log
# Properties for the LogalizerHandler # Properties for the LogalizerHandler
net.yacy.kelondro.logging.LogalizerHandler.enabled = false net.yacy.kelondro.logging.LogalizerHandler.enabled = false

Loading…
Cancel
Save