Project

General

Profile

Actions

Bug #3037

closed

After an upgrade from 2.4.0~beta4 to 2.4.0~rc1, the file logback.xml is not updated

Added by Nicolas PERRON over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

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: 61668cd7248ab352c6bb97acc33c5e2cc5e8d5bf

--- 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>

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

Actions

Also available in: Atom PDF