001/*- 002 * #%L 003 * Smile CDR - CDR 004 * %% 005 * Copyright (C) 2016 - 2024 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 getAwsHealthLakeExportTroubleshootingLog() { 066 return ourAwsHealthLakeExportTroubleshootingLog; 067 } 068 069 public static Logger getS2sTroubleshootingLog() { 070 return ourS2sTroubleshootingLog; 071 } 072 073 public static Logger getCdaTroubleshootingLog() { 074 return ourCdaTroubleshootingLog; 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_AWS_HEALTHLAKE_EXPORT_TROUBLESHOOTING = 097 "ca.cdr.log.aws_healthlake_export_troubleshooting"; 098 public static final String CA_CDR_LOG_S_2_S_TROUBLESHOOTING = "ca.cdr.log.s2s_troubleshooting"; 099 public static final String CA_CDR_LOG_CDA_TROUBLESHOOTING = "ca.cdr.log.cda_troubleshooting"; 100 101 private static final Logger ourConsentTroubleshootingLog = 102 LoggerFactory.getLogger(CA_CDR_LOG_CONSENT_TROUBLESHOOTING); 103 private static final Logger ourGatewayTroubleshootingLog = 104 LoggerFactory.getLogger(CA_CDR_LOG_FHIRGATEWAY_TROUBLESHOOTING); 105 private static final Logger ourSecurityTroubleshootingLog = 106 LoggerFactory.getLogger(CA_CDR_LOG_SECURITY_TROUBLESHOOTING); 107 private static final Logger ourHl7V2TroubleshootingLog = 108 LoggerFactory.getLogger(CA_CDR_LOG_HL_7_V_2_TROUBLESHOOTING); 109 private static final Logger ourHttpTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_HTTP_TROUBLESHOOTING); 110 private static final Logger ourQueueTroubleshootingLog = 111 LoggerFactory.getLogger(CA_CDR_LOG_SUBSCRIPTION_TROUBLESHOOTING); 112 private static final Logger ourLiveBundleTroubleshootingLog = 113 LoggerFactory.getLogger(CA_CDR_LOG_LIVEBUNDLE_TROUBLESHOOTING); 114 private static final Logger ourMongoDbTroubleshootingLog = 115 LoggerFactory.getLogger(CA_CDR_LOG_MONGODB_TROUBLESHOOTING); 116 private static final Logger ourMdmTroubleshootingLog = LoggerFactory.getLogger(CA_UHN_FHIR_LOG_MDM_TROUBLESHOOTING); 117 private static final Logger ourChannelImportTroubleshootingLog = 118 LoggerFactory.getLogger(CHANNEL_IMPORT_TROUBLESHOOTING1); 119 private static final Logger ourRealtimeExportTroubleshootingLog = 120 LoggerFactory.getLogger(CA_CDR_LOG_REALTIME_EXPORT_TROUBLESHOOTING); 121 private static final Logger ourConnectionPoolTroubleshootingLog = 122 LoggerFactory.getLogger(CA_CDR_LOG_CONNECTION_POOL_TROUBLESHOOTING); 123 private static final Logger ourAwsHealthLakeExportTroubleshootingLog = 124 LoggerFactory.getLogger(CA_CDR_LOG_AWS_HEALTHLAKE_EXPORT_TROUBLESHOOTING); 125 private static final Logger ourS2sTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_S_2_S_TROUBLESHOOTING); 126 private static final Logger ourCdaTroubleshootingLog = LoggerFactory.getLogger(CA_CDR_LOG_CDA_TROUBLESHOOTING); 127}