<html>
<head>
<base href="http://www.jacorb.org/bugzilla/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Log4j logging doesn't work anymore"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=1004">1004</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Log4j logging doesn't work anymore
</td>
</tr>
<tr>
<th>Product</th>
<td>JacORB
</td>
</tr>
<tr>
<th>Version</th>
<td>3.5
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>ORB
</td>
</tr>
<tr>
<th>Assignee</th>
<td>jacorb-bugs@lists.spline.inf.fu-berlin.de
</td>
</tr>
<tr>
<th>Reporter</th>
<td>na.ais40@wanadoo.fr
</td>
</tr></table>
<p>
<div>
<pre>Hi,
We actualy use JacORB3.2 and the SLF4J log4j12 logging system.
the log4.properties is :
# par defaut niveau = WARN
#
log4j.rootLogger=WARN,sas,jsys
# définition des logs à inscrire dans le journal système
log4j.appender.jsys=sas.trace.serveur.TraceLog4JAppender
# définition du motif de sortie
log4j.appender.jsys.layout=org.apache.log4j.PatternLayout
log4j.appender.jsys.layout.ConversionPattern=%d %5p [%t] (%F\:%L) - %m%n
# définition des logs fichier du serveurs SAS
# Logs rotatifs
log4j.appender.sas=org.apache.log4j.RollingFileAppender
# Fichier destination
log4j.appender.sas.File=/home/opsnetv3/fichiers/log/opsnetv3/services.log
log4j.appender.sas.ImmediateFlush=true
# Nombre de fichiers de rotation (en plus du fichiers de log)
log4j.appender.sas.MaxBackupIndex=10
# Taille maximum avant rotation
log4j.appender.sas.MaxFileSize=100000KB
# définition du motif de sortie
log4j.appender.sas.layout=org.apache.log4j.PatternLayout
log4j.appender.sas.layout.ConversionPattern=%d %5p [%t] (%F\:%L) - %m%n
log4j.logger.jacorb=DEBUG,jacorb
log4j.additivity.jacorb=false
# Logs rotatifs
log4j.appender.jacorb=org.apache.log4j.RollingFileAppender
# Fichier destination
log4j.appender.jacorb.File=/home/opsnetv3/fichiers/log/orb/jacorb.log
log4j.appender.jacorb.ImmediateFlush=true
# Nombre de fichiers de rotation (en plus du fichiers de log)
log4j.appender.jacorb.MaxBackupIndex=10
# Taille maximum avant rotation
log4j.appender.jacorb.MaxFileSize=100000KB
# définition du motif de sortie
log4j.appender.jacorb.layout=org.apache.log4j.PatternLayout
log4j.appender.jacorb.layout.ConversionPattern=%d %5p [%t] (%F\:%L) - %m%n
This was working fine because in the jacorb.log file we have outputs like :
2015-03-13 11:14:09,191 INFO [main] (ORBSingleton.java:102) - created
ORBSingleton
2015-03-13 11:14:09,237 INFO [main] (InterceptorManager.java:88) -
InterceptorManager started with 2 Server Interceptors, 2 Client Interceptors
and 0 IOR Interceptors
2015-03-13 11:14:09,803 INFO [main] (ClientConnectionManager.java:130) -
ClientConnectionManager: created new ClientGIOPConnection to
vsasdev4.dev.cy.cassidian.net:14200 (656e018a)
2015-03-13 11:14:09,827 INFO [main] (ClientIIOPConnection.java:169) -
Connected to vsasdev4.dev.cy.cassidian.net:14200 from local port 46439
But since the migration to JacORB 3.6 the file remain empty
A test has been made with JacORB 3.4 with the same result.
It looks like a regression or we have missed a configuration option
Thanks for your assistance</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>