Project

General

Profile

Bug #3037

Updated by Nicolas PERRON over 11 years ago

After an upgrade from *2.4.0~beta4* to *2.4.0~rc1*, the file *logback.xml* is not updated since the part about OPSLOG is absent. 
 We have to make the update manually in order to get the correct log configuration about OPSLOG. 

 I suppose the difference in *logback.xml* is related to the commit: commit:61668cd7248ab352c6bb97acc33c5e2cc5e8d5bf 

 <pre> 
 --- a/rudder-web/src/main/resources/logback.xml 
 +++ b/rudder-web/src/main/resources/logback.xml 
 @@ -176,4 +176,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/agpl.html>. 
       <appender-ref ref="STDOUT" /> 
     </logger> 
 
 +     <logger name="historization" level="info" additivity="false"> 
 +       <appender-ref ref="OPSLOG" /> 
 +       <!-- comment the following appender if you don't want to have logs about report in both stdout and opslog --> 
 +       <appender-ref ref="STDOUT" /> 
 +     </logger> 
  </configuration> 
 </pre> 

 Pull Request URL: https://github.com/Normation/rudder-packages/pull/2

Back