001/*- 002 * #%L 003 * Smile CDR - CDR 004 * %% 005 * Copyright (C) 2016 - 2025 Smile CDR, Inc. 006 * %% 007 * All rights reserved. 008 * #L% 009 */ 010package ca.cdr.api.log; 011 012import org.slf4j.Logger; 013import org.slf4j.LoggerFactory; 014 015public class Logs { 016 017 public static Logger getConsentTroubleshootingLog() { 018 return ourConsentTroubleshootingLog; 019 } 020 021 public static Logger getGatewayTroubleshootingLog() { 022 return ourGatewayTroubleshootingLog; 023 } 024 025 public static Logger getHl7V2TroubleshootingLog() { 026 return ourHl7V2TroubleshootingLog; 027 } 028 029 public static Logger getHttpTroubleshootingLog() { 030 return ourHttpTroubleshootingLog; 031 } 032 033 public static Logger getSubscriptionTroubleshootingLog() { 034 return ourQueueTroubleshootingLog; 035 } 036 037 public static Logger getSecurityTroubleshootingLog() { 038 return ourSecurityTroubleshootingLog; 039 } 040 041 public static Logger getLiveBundleTroubleshootingLog() { 042 return ourLiveBundleTroubleshootingLog; 043 } 044 045 public static Logger getMongoDbTroubleshootingLog() { 046 return ourMongoDbTroubleshootingLog; 047 } 048 049 public static Logger getMdmTroubleshootingLog() { 050 return ourMdmTroubleshootingLog; 051 } 052 053 public static Logger getRealtimeExportTroubleshootingLog() { 054 return ourRealtimeExportTroubleshootingLog; 055 } 056 057 public static Logger getChannelImportTroubleshootingLog() { 058 return ourChannelImportTroubleshootingLog; 059 } 060 061 public static Logger getConnectionPoolTroubleshootingLog() { 062 return ourConnectionPoolTroubleshootingLog; 063 } 064 065 public static Logger getS2sTroubleshootingLog() { 066 return ourS2sTroubleshootingLog; 067 } 068 069 public static Logger getCdaTroubleshootingLog() { 070 return ourCdaTroubleshootingLog; 071 } 072 073 public static Logger getPaTroubleshootingLog() { 074 return ourPaTroubleshootingLog; 075 } 076 077 public static final String CA_CDR_LOG_CONSENT_TROUBLESHOOTING = "ca.cdr.log.consent_troubleshooting"; 078 public static final String CA_UHN_FHIR_LOG_BATCH_TROUBLESHOOTING = "ca.uhn.fhir.log.batch_troubleshooting"; 079 public static final String CA_UHN_FHIR_LOG_NARRATIVE_GENERATION_TROUBLESHOOTING = 080 "ca.uhn.fhir.log.narrative_generation_troubleshooting"; 081 public static final String CA_UHN_FHIR_LOG_TERMINOLOGY_TROUBLESHOOTING = 082 "ca.uhn.fhir.log.terminology_troubleshooting"; 083 public static final String CA_CDR_LOG_FHIRGATEWAY_TROUBLESHOOTING = "ca.cdr.log.fhirgateway_troubleshooting"; 084 public static final String CA_CDR_LOG_SECURITY_TROUBLESHOOTING = "ca.cdr.log.security_troubleshooting"; 085 public static final String CA_CDR_LOG_HL_7_V_2_TROUBLESHOOTING = "ca.cdr.log.hl7v2_troubleshooting"; 086 public static final String CA_CDR_LOG_HTTP_TROUBLESHOOTING = "ca.cdr.log.http_troubleshooting"; 087 public static final String CA_CDR_LOG_SUBSCRIPTION_TROUBLESHOOTING = "ca.cdr.log.subscription_troubleshooting"; 088 public static final String CA_CDR_LOG_LIVEBUNDLE_TROUBLESHOOTING = "ca.cdr.log.livebundle_troubleshooting"; 089 public static final String CA_CDR_LOG_MONGODB_TROUBLESHOOTING = "ca.cdr.log.mongodb_troubleshooting"; 090 public static final String CA_UHN_FHIR_LOG_MDM_TROUBLESHOOTING = "ca.uhn.fhir.log.mdm_troubleshooting"; 091 public static final String CHANNEL_IMPORT_TROUBLESHOOTING1 = "channel_import_troubleshooting"; 092 public static final String CA_CDR_LOG_REALTIME_EXPORT_TROUBLESHOOTING = 093 "ca.cdr.log.realtime_export_troubleshooting"; 094 public static final String CA_CDR_LOG_CONNECTION_POOL_TROUBLESHOOTING = 095 "ca.cdr.log.connection_pool_troubleshooting"; 096 public static final String CA_CDR_LOG_S_2_S_TROUBLESHOOTING = "ca.cdr.log.s2s_troubleshooting"; 097 public static final String CA_CDR_LOG_CDA_TROUBLESHOOTING = "ca.cdr.log.cda_troubleshooting"; 098 public static final String CA_CDR_LOG_PA_TROUBLESHOOTING = "ca.cdr.log.pa_troubleshooting"; 099 100 private static final Logger ourConsentTroubleshootingLog = 101 LoggerFactory.getLogger(CA_CDR_LOG_CONSENT_TROUBLESHOOTING); 102 private static final Logger ourGatewayTroubleshootingLog = 103 LoggerFactory.getLogger(CA_CDR_LOG_FHIRGATEWAY_TROUBLESHOOTING); 104 private static final Logger ourSecurityTroubleshootingLog = 105 LoggerFactory.getLogger(CA_CDR_LOG_SECURITY_TROUBLESHOOTING); 106 private static final Logger ourHl7V2TroubleshootingLog = 107 LoggerFactory.getLogger(CA_CDR_LOG_HL_7_V_2_TROUBLESHOOTING); 108 private static final Logger ourHttpTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_HTTP_TROUBLESHOOTING); 109 private static final Logger ourQueueTroubleshootingLog = 110 LoggerFactory.getLogger(CA_CDR_LOG_SUBSCRIPTION_TROUBLESHOOTING); 111 private static final Logger ourLiveBundleTroubleshootingLog = 112 LoggerFactory.getLogger(CA_CDR_LOG_LIVEBUNDLE_TROUBLESHOOTING); 113 private static final Logger ourMongoDbTroubleshootingLog = 114 LoggerFactory.getLogger(CA_CDR_LOG_MONGODB_TROUBLESHOOTING); 115 private static final Logger ourMdmTroubleshootingLog = LoggerFactory.getLogger(CA_UHN_FHIR_LOG_MDM_TROUBLESHOOTING); 116 private static final Logger ourChannelImportTroubleshootingLog = 117 LoggerFactory.getLogger(CHANNEL_IMPORT_TROUBLESHOOTING1); 118 private static final Logger ourRealtimeExportTroubleshootingLog = 119 LoggerFactory.getLogger(CA_CDR_LOG_REALTIME_EXPORT_TROUBLESHOOTING); 120 private static final Logger ourConnectionPoolTroubleshootingLog = 121 LoggerFactory.getLogger(CA_CDR_LOG_CONNECTION_POOL_TROUBLESHOOTING); 122 private static final Logger ourS2sTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_S_2_S_TROUBLESHOOTING); 123 private static final Logger ourCdaTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_CDA_TROUBLESHOOTING); 124 private static final Logger ourPaTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_PA_TROUBLESHOOTING); 125}