directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r432473 - in /directory/trunks/apacheds: server-installers/src/main/installers/inno-apacheds.iss server-installers/src/main/installers/log4j.properties server-main/log4j.properties
Date Fri, 18 Aug 2006 03:21:19 GMT
Author: akarasulu
Date: Thu Aug 17 20:21:18 2006
New Revision: 432473

URL: http://svn.apache.org/viewvc?rev=432473&view=rev
Log:
Fix for DIRSERVER-667: Logging level settings ignored in apachedsw.exe windows NT service
frontend

Modified:
    directory/trunks/apacheds/server-installers/src/main/installers/inno-apacheds.iss
    directory/trunks/apacheds/server-installers/src/main/installers/log4j.properties
    directory/trunks/apacheds/server-main/log4j.properties

Modified: directory/trunks/apacheds/server-installers/src/main/installers/inno-apacheds.iss
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-installers/src/main/installers/inno-apacheds.iss?rev=432473&r1=432472&r2=432473&view=diff
==============================================================================
--- directory/trunks/apacheds/server-installers/src/main/installers/inno-apacheds.iss (original)
+++ directory/trunks/apacheds/server-installers/src/main/installers/inno-apacheds.iss Thu
Aug 17 20:21:18 2006
@@ -72,7 +72,7 @@
 Name: {group}\Test Service; Filename: {app}\bin\${app}.exe; IconIndex: 0
 
 [Run]
-Filename: {app}\bin\${app}.exe; WorkingDir: {app}\bin; Tasks: ; Languages: ; Parameters:
"//IS//${app.displayname} --Description=""${app.description} Service ${app.version} - ${app.url}""
--DisplayName=${app.displayname} --Install=""{app}\bin\${app}.exe"" --StartMode=jvm --StopMode=jvm
--StartClass=org.apache.directory.daemon.ProcrunBootstrapper --StartMethod prunsrvStart --StartParams=""{app}""
--StopClass=org.apache.directory.daemon.ProcrunBootstrapper --StopMethod prunsrvStop --StopParams=""{app}""
--Startup=manual --JvmOptions=""-D${app}.home={app}"" --Classpath=""{app}\bin\bootstrapper.jar;{app}\conf;{app}\bin\logger.jar;{app}\bin\daemon.jar""
--LogPath=""{app}\var\log"" --LogPrefix=${app}.log --LogLevel=debug --StdOutput=""{app}\var\log\${app}-stdout.log""
--StdError=""{app}\var\log\${app}-stderr.log"""; Flags: runhidden
+Filename: {app}\bin\${app}.exe; WorkingDir: {app}\bin; Tasks: ; Languages: ; Parameters:
"//IS//${app.displayname} --Description=""${app.description} Service ${app.version} - ${app.url}""
--DisplayName=${app.displayname} --Install=""{app}\bin\${app}.exe"" --StartMode=jvm --StopMode=jvm
--StartClass=org.apache.directory.daemon.ProcrunBootstrapper --StartMethod prunsrvStart --StartParams=""{app}""
--StartPath=""{app}""\var\log --StopPath=""{app}""\var\log --StopClass=org.apache.directory.daemon.ProcrunBootstrapper
--StopMethod prunsrvStop --StopParams=""{app}"" --Startup=manual --JvmOptions=""-D${app}.home={app}""
--Classpath=""{app}\bin\bootstrapper.jar;{app}\conf;{app}\bin\logger.jar;{app}\bin\daemon.jar""
--LogPath=""{app}\var\log"" --LogPrefix=${app}.log --LogLevel=debug --StdOutput=""{app}\var\log\${app}-stdout.log""
--StdError=""{app}\var\log\${app}-stderr.log"""; Flags: runhidden
 Filename: {app}\bin\${app}w.exe; Parameters: //ES//${app.displayname}; WorkingDir: {app}\bin;
Flags: postinstall nowait; Description: Runs the configuration manager for the ${app} windows
service
 
 [Registry]

Modified: directory/trunks/apacheds/server-installers/src/main/installers/log4j.properties
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-installers/src/main/installers/log4j.properties?rev=432473&r1=432472&r2=432473&view=diff
==============================================================================
--- directory/trunks/apacheds/server-installers/src/main/installers/log4j.properties (original)
+++ directory/trunks/apacheds/server-installers/src/main/installers/log4j.properties Thu Aug
17 20:21:18 2006
@@ -1,7 +1,18 @@
-log4j.rootCategory=WARN, stdout
+log4j.rootCategory=WARN, stdout, R
 
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.R.File=apacheds-rolling.log
+
+log4j.appender.R.MaxFileSize=1024KB
+# Keep some backup files
+log4j.appender.R.MaxBackupIndex=5
+
+log4j.appender.R.layout=org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
 log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
 
 # with these we'll not get innundated when switching to DEBUG

Modified: directory/trunks/apacheds/server-main/log4j.properties
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-main/log4j.properties?rev=432473&r1=432472&r2=432473&view=diff
==============================================================================
--- directory/trunks/apacheds/server-main/log4j.properties (original)
+++ directory/trunks/apacheds/server-main/log4j.properties Thu Aug 17 20:21:18 2006
@@ -1,11 +1,23 @@
-log4j.rootCategory=DEBUG, stdout
+log4j.rootCategory=WARN, stdout, R
 
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.R.File=apacheds-rolling.log
+
+log4j.appender.R.MaxFileSize=1024KB
+# Keep some backup files
+log4j.appender.R.MaxBackupIndex=5
+
+log4j.appender.R.layout=org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
 log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
 
 # with these we'll not get innundated when switching to DEBUG
-#log4j.logger.org.apache.directory.shared.ldap.name=WARN
+log4j.logger.org.apache.directory.shared.ldap.name=WARN
 log4j.logger.org.springframework=WARN
-log4j.logger.org.apache.directory.shared.ldap.codec.TwixDecoder=DEBUG
+log4j.logger.org.apache.directory.shared.codec=WARN
+log4j.logger.org.apache.directory.shared.asn1=WARN
 



Mime
View raw message