blob: 985fa6dac9b3f3e639aee01c45d2e22373daf05a [file] [log] [blame]
ramvermaaf74a622018-07-31 18:25:39 +01001//
2// ============LICENSE_START=======================================================
3// Copyright (C) 2016-2018 Ericsson. All rights reserved.
4// ================================================================================
5// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
6// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
7//
8// SPDX-License-Identifier: CC-BY-4.0
9// ============LICENSE_END=========================================================
10//
11// @author Sven van der Meer (sven.van.der.meer@ericsson.com)
12//
13
14== Adding Logback Status and Debug
15
16To activate logback status messages change the status listener from 'NOP' to for instance console.
17
18[source%nowrap,xml]
19----
20<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" />
21----
22
23To activate all logback debugging, for instance to debug a new logback configuration, activate the debug attribute in the configuration.
24
25[source%nowrap,xml]
26----
27<configuration debug="true">
28...
29</configuration>
30----
31