Package org.apache.logging.log4j.spi

Examples of org.apache.logging.log4j.spi.DefaultThreadContextMap


                            contextMap = clazz.newInstance();
                            break;
                        } catch (final Exception e) {
                            LOGGER.error("Unable to locate or load configured ThreadContextMap {}",
                                provider.getThreadContextMap(), e);
                            contextMap = new DefaultThreadContextMap(useMap);
                        }
                    }
                }
            }
        }
        if (contextMap == null) {
            contextMap = new DefaultThreadContextMap(useMap);
        }
    }
View Full Code Here


                            contextMap = (ThreadContextMap) clazz.newInstance();
                            break;
                        }
                    } catch (final ClassNotFoundException cnfe) {
                        LOGGER.error("Unable to locate configured LoggerContextFactory {}", threadContextMapName);
                        contextMap = new DefaultThreadContextMap(useMap);
                    } catch (final Exception ex) {
                        LOGGER.error("Unable to create configured LoggerContextFactory {}", threadContextMapName, ex);
                        contextMap = new DefaultThreadContextMap(useMap);
                    }
                }
            }
        }
        if (contextMap == null) {
            contextMap = new DefaultThreadContextMap(useMap);
        }
    }
View Full Code Here

                            contextMap = (ThreadContextMap) clazz.newInstance();
                            break;
                        }
                    } catch (final ClassNotFoundException cnfe) {
                        LOGGER.error("Unable to locate configured LoggerContextFactory {}", threadContextMapName);
                        contextMap = new DefaultThreadContextMap(useMap);
                    } catch (final Exception ex) {
                        LOGGER.error("Unable to create configured LoggerContextFactory {}", threadContextMapName, ex);
                        contextMap = new DefaultThreadContextMap(useMap);
                    }
                }
            }
        }
        if (contextMap == null) {
            contextMap = new DefaultThreadContextMap(useMap);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.spi.DefaultThreadContextMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.