summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-logging-lib
AgeCommit message (Collapse)AuthorFilesLines
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 servicevempo8-14/+154
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-17Reducing onboarding backend maven build timeGautam Shah1-6/+0
Reducing onboarding backend maven build time Change-Id: Iab7af70c0e9f60b8a50bef7937e802df5be89fd0 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-08Fixed proxy instead of resource type in auditvempo2-14/+138
Change-Id: I1b3c22105f27e9d3dee0947815d32eb453a56831 Issue-ID: SDC-1190 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 APIvempo24-854/+953
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 loggingolegb16-831/+1702
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 contextvempo26-493/+932
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 APIolegb15-279/+571
Issue-ID: SDC-772 Change-Id: I9dce63f3a1bb7df067cf06a96158afa7d799319e Signed-off-by: olegb <olegb@amdocs.com>
2018-03-06Changes to the audit logging implementationvempo10-176/+510
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 loggerolegb9-92/+238
Change-Id: I3e091ba7ce592fae536da1eaf28a220284b846c3 Issue-ID: SDC-772 Signed-off-by: olegb <olegb@amdocs.com>
2018-02-26Removed audit logging from business codevempo1-57/+0
Change-Id: I676e8bb10ae7caf2e8c7ae490c247e0c929696f2 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-02-04Removed unnecessary log constantsvempo5-583/+0
Removed unnecessary constants associated with logging. Moved remaining constants close to their respective business logic. Change-Id: I3497479a2edcf2c98dca888b2aed52cb2a98e86b Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@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 APIvempo13-44/+44
Change-Id: I926ba95c7145eb98aade3f9009a252ad995a346d Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-11Deleted no longer needed logging filesvempo3-87/+0
Change-Id: I0a214f9572c3acabc374154ffcaca71308dfd26b Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Removed SLF4J from logging APIvempo2-11/+5
Change-Id: Icc1ae76ff3945d9965e2beafb2fe53fe911d0d4c Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Merged two MDC related classesvempo2-66/+13
Change-Id: I0efda7c99972ce133e2a4045b1ac07fe062d6445 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-10Removed unused code in loggervempo6-95/+36
Change-Id: I04da65e3470d6444dd77a52a7c8371811d0941b6 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-09Add Togglz REST APIvempo1-1/+2
Supporting REST API, and Javascript for Togglz Issue-ID: SDC-881 Change-Id: I026d3f190cb95c8943a85b26dfbcd13e856abe64 Signed-off-by: shrek2000 <orenkle@amdocs.com> (cherry picked from commit 5a33f027cd2bc4253d5ebb7a71889ead65d095b2) Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-09Added logging context service, refactoringvempo31-1141/+1999
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 featuretalig7-9/+35
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-12-13Fixed sonar issues - LoggerFactorymojahidi1-3/+33
Refactored as per previous patch comment Change-Id: Ia971105a56df62575cd3871e3488b6d2c6903d3c Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-12Fixed sonar issues - LoggerTragetServiceNamemojahidi1-0/+3
Added private constructor to hide public one Change-Id: I5f4f7d67513c6d4f792ad68ad986867a255356f0 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - DebugMessagesmojahidi1-0/+3
Added private constructor to hide public one Change-Id: I0689d9a4c920a910324b0db298e325c3e87d37f6 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - DebugConstantsmojahidi1-3/+3
Added private constructor to hide public one Change-Id: I535017906f12d69333360b1994d87e506f5bf142 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - AuditMessagesmojahidi1-3/+18
Added private constructor to hide public one Change-Id: Icddef8c59eb1f4cc77ed6646cfb7b362d4921da1 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - LoggerConstantsmojahidi1-0/+3
Added private constructor to hide public one Change-Id: I8958d8906d7339d8bc0c7d0188de5d397aa04c79 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - ContextPropagationServicemojahidi1-0/+2
Added FunctionalInterface annotation Change-Id: Ia8c68be7a2154d68d0d472cd0bb757c01ad59e27 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-11Fixed sonar issues - LoggerErrorDescriptionmojahidi1-0/+3
Added private constructor to hide public one Change-Id: I06eca13ddcd6ca4e2eae427c2fb8a12e7c603e64 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@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 headervempo10-70/+30
Change-Id: I23f3e27b0d628288b6c21b7465a36b3fd2d407b2 Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-11Corrected copyright headervempo10-70/+30
Change-Id: I037e766fa1734186054e3658b4908498ce67dd2a Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-11Corrected copyright headervempo4-28/+12
Change-Id: Ie294ac695538f759c4a38382c7b45dc9660d178c Issue-ID: SDC-738 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-06Duplicate logging frameworks mergingnoahs49-0/+4623
There was two copies of the SDC logging framework Change-Id: I55c94c9817a83162c6d90e504dfd91e4858c7269 Issue-ID: SDC-703 Signed-off-by: noahs <noah.shogan@amdocs.com>