001package com.identityworksllc.iiq.common.plugin; 002 003/** 004 * Logging constants 005 */ 006public class LoggingConstants { 007 008 /** 009 * Context ID (a UUID) that can be logged with every message (via NDC) 010 */ 011 public static final String LOG_CTX_ID = "ctx"; 012 /** 013 * The REST endpoint class being called 014 */ 015 public static final String LOG_MDC_ENDPOINT_CLASS = "endpointClass"; 016 /** 017 * The REST endpoint method being called 018 */ 019 public static final String LOG_MDC_ENDPOINT_METHOD = "endpointMethod"; 020 /** 021 * Logged-in 022 */ 023 public static final String LOG_MDC_PLUGIN = "plugin"; 024 025 /** 026 * The request URI 027 */ 028 public static final String LOG_MDC_URI = "requestUri"; 029 /** 030 * Logged-in user name (Identity.name) 031 */ 032 public static final String LOG_MDC_USER = "loggedInUser"; 033 /** 034 * Logged-in user display name (Identity.displayName) 035 */ 036 public static final String LOG_MDC_USER_DISPLAY = "loggedInUserDisplayName"; 037}