summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-logging-lib/openecomp-sdc-logging-core/src
AgeCommit message (Collapse)AuthorFilesLines
2021-03-24Reformat openecomp-bevasraz17-146/+62
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3449 Change-Id: I13e02322f8e00820cc5a1d85752caaeda9bf10d1
2020-10-11Add InvocationID to p_mdc field in audit logsnrpandya3-1/+11
Add InvocationID in SLF4JLoggerWrapper for audit entry and exit Issue-ID: SDC-3312 Change-Id: Id19dd3cfff75a23f14d0a1d22520a2e967e46289 Signed-off-by: nrpandya <neenendra.pandya@att.com>
2020-05-17Remove powermock from HostAddressCacheTestRodrigo Lima2-28/+51
- Remove powermock and easymock from HostAddressCacheTest - Add package level constructor to HostAddressCache and pass read address function to verified in unit test Issue-ID: SDC-3068 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I749211393d9e0ecb3ff3b587dc0f811b58bb967c
2019-11-05Align logging to Onap-ELS 2019.11Ben David, Elad (eb7504)12-55/+77
Change-Id: I1750493d5c9f2eab8c1395f0fbc9ae66cf74b0a6 Issue-ID: SDC-2639 Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
2019-07-11Added oparent to sdc mainTomasz Golabek6-6/+6
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2018-08-16Fixed logback test config for multiple modulesvempo5-560/+4
Also removed unused logging code. Change-Id: Iee9a74638e889142f1bb4e01c75c8ed3377357a8 Issue-ID: SDC-1656 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-06Minor improvements to logging for servletsvempo8-20/+14
Fixed import order, more resilient statuses for Spring, cleaner code and tests, more convenient APIs. Change-Id: I6493c81d9c3c1c543c354562e074876268794438 Issue-ID: SDC-1580 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-29re base codeMichael Lando5-7/+12
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-06-27Improvements in audit logger for onboardingvempo13-261/+285
A few optimizations, more unit-tests, log via the handling resource's logger instead of filter's logger. Change-Id: I40cef2c86a82b25ded1f8fdca1ec3b0f2fe062d8 Issue-ID: SDC-1451 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-02Added fallback for host address in loggingvempo3-13/+68
In some cases Java fails to get local hostname on Linux. Added a workaround that in such cases gets at least some meaningful host identification. Change-Id: Icf9b84ec6a0d6fbcbcb6a1578689b3e3be00261b Issue-ID: SDC-1275 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-01Expose tracing context via log context servicevempo5-11/+113
Tracing context must be available to application code when the application makes outbound calls. Change-Id: Ica8e1f9d8e0bd6d37688a01a64c1fbedc126801c Issue-ID: SDC-1264 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-08Minor improvements in hostname for loggingvempo3-10/+10
Minor concurrency and naming improvements. Change-Id: I14dfb6d83dd5b84d5a8bb5cb67eda9f490b0e85a Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-01Introduced metrics to logging APIvempo15-800/+593
Metrics data can now be passed to logger. Also general cleanup, refactoring, simpler implementation, javadocs. Change-Id: I037101aa9626b3e011737ec2e3497ab348319e4c Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-26Added JAX-RS filters for loggingolegb4-816/+367
Change-Id: I57ab333278d4ea26530e916ef89670df8b51b555 Issue-ID: SDC-772 Signed-off-by: olegb <olegb@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-23Logging refactoring and global contextvempo19-433/+709
Implemented global context (instance ID, host address). Refactored the logging context API for clarity and separation of concerns. Added unit tests. Fixed Javadoc. Change-Id: I6e29b7b3613aebf23112dc017490ad2828e0fb91 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-15Changed logging context APIolegb12-195/+522
Issue-ID: SDC-772 Change-Id: I9dce63f3a1bb7df067cf06a96158afa7d799319e Signed-off-by: olegb <olegb@amdocs.com>
2018-03-06Changes to the audit logging implementationvempo4-93/+249
Changes to the API and implementation, fixed issues, added javadoc and unit tests, changed scope of some dependencies to "provided" to prevent transitive when not needed. Change-Id: Ib76ae2f921846c2115fcc5cc61b93625307a7c65 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-03-04Changed audit API of loggerolegb4-58/+118
Change-Id: I3e091ba7ce592fae536da1eaf28a220284b846c3 Issue-ID: SDC-772 Signed-off-by: olegb <olegb@amdocs.com>
2018-01-30Removed MdcUtilvempo1-53/+0
Validation messages are propagated to the client and should not be logged as errors. No application modules can depend on logging-core. Change-Id: I36eb2f9de195e77d5008cc69dbc7b65643fe2322 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-29Removed reference to MDC for loggingvempo1-74/+0
Change-Id: I6d7e5b40ba6f2bc596be9b3e80ea5c274f1ae447 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-16Removed MDC from four modulesvempo1-31/+0
Change-Id: I4cba1701cb52121709bbd98dbee4a0cb42f1e5f0 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-14Minor refactor of logging APIvempo6-24/+24
Change-Id: I926ba95c7145eb98aade3f9009a252ad995a346d Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Merged two MDC related classesvempo1-11/+13
Change-Id: I0efda7c99972ce133e2a4045b1ac07fe062d6445 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Removed unused code in loggervempo3-37/+35
Change-Id: I04da65e3470d6444dd77a52a7c8371811d0941b6 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-09Added logging context service, refactoringvempo20-768/+1310
Change-Id: Ib040d4579107b60c8da2c7a6da829f49c1cd8dd4 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-04Remove enter/exit debug #8vempo1-84/+0
Change-Id: Ib075b5b42498bfe8d7fc0368e078adeead340e34 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-21Add collaboration featuretalig3-5/+19
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-12-11Corrected copyright headervempo10-70/+30
Change-Id: Ib437d6c321c8142a72b5b8f4584d84f240b7d36c Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-11Corrected copyright headervempo7-49/+21
Change-Id: I23f3e27b0d628288b6c21b7465a36b3fd2d407b2 Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-06Duplicate logging frameworks mergingnoahs25-0/+3007
There was two copies of the SDC logging framework Change-Id: I55c94c9817a83162c6d90e504dfd91e4858c7269 Issue-ID: SDC-703 Signed-off-by: noahs <noah.shogan@amdocs.com>