ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame] | 1 | // |
| 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 | |
| 16 | To 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 | |
| 23 | To 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 | |