[prev in list] [next in list] [prev in thread] [next in thread]
List: log4php-dev
Subject: [jira] [Issue Comment Deleted] (LOG4PHP-224) LoggerLayoutPattern is not safe when used inside pthrea
From: "Daniel Takamori (JIRA)" <jira () apache ! org>
Date: 2016-07-04 16:18:11
Message-ID: JIRA.12827959.1430985847000.20164.1467649091061 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/LOG4PHP-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Daniel Takamori updated LOG4PHP-224:
------------------------------------
Comment: was deleted
(was: simply make a function that generates that map.you could concievably fix this \
two ways. Thanks
http://qwikfix.co.uk/sky-customer-services/)
> LoggerLayoutPattern is not safe when used inside pthreads
> ---------------------------------------------------------
>
> Key: LOG4PHP-224
> URL: https://issues.apache.org/jira/browse/LOG4PHP-224
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.3.0
> Reporter: Andrew Revak
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When you use LoggerLayoutPattern inside a pthread Threadable object because all of \
> it's patterns are defined in the static variable $defaultConverterMap they are \
> basically wiped out by pthreads. A simple workaround is to simply make a function \
> that generates that map and then is replaced where the map is statically called.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic