

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
10 messages in org.apache.logging.log4j-userRe: configureAndWatch| From | Sent On | Attachments |
|---|---|---|
| Lutz Michael | Jun 11, 2004 12:08 pm | |
| Ceki Gülcü | Jun 11, 2004 12:24 pm | |
| Adrian Beech | Jun 11, 2004 4:34 pm | |
| Shapira, Yoav | Jun 14, 2004 7:24 am | |
| Lutz Michael | Jun 14, 2004 8:15 am | |
| Henrik Bentel | Jun 14, 2004 8:55 pm | |
| Ceki Gülcü | Jun 15, 2004 2:19 am | |
| Ceki Gülcü | Jun 15, 2004 4:35 am | |
| Shapira, Yoav | Jun 15, 2004 6:01 am | |
| Shirish Goel | Jun 16, 2004 4:30 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: configureAndWatch | Actions... |
|---|---|---|
| From: | Ceki Gülcü (ce...@qos.ch) | |
| Date: | Jun 15, 2004 4:35:31 am | |
| List: | org.apache.logging.log4j-user | |
At 01:31 PM 6/16/2004, you wrote:
Hi Ceki,
Is there any other way, we can dynamically reload the properties file in a J2EE app,
A good way is to write a servlet that reloads the log4j config when called.
Regards..
----- Original Message ----- From: "Ceki Gülcü" <ce...@qos.ch> To: "Log4J Users List" <log4...@logging.apache.org> Sent: Tuesday, June 15, 2004 2:49 PM Subject: RE: configureAndWatch
Yoav,
The problem is not the thread itself, but the fact that once started it cannot be stopped until the JVM exits. configureAndWatch does not provide a means to close the thread. Imagine the problems when the web-app is recycled and you have multiple configureAndWatch threads running amok. It does not make a pleasant sight.
HTH,
At 04:24 PM 6/14/2004, you wrote:
Hi, Read the J2EE Specification guidelines on spawning user threads within a container to understand why. configureAndWatch spawns a thread, albeit a daemon, to watch the file.
Yoav Shapira Millennium Research Informatics
-----Original Message----- From: Adrian Beech [mailto:a.be...@bigpond.net.au] Sent: Friday, June 11, 2004 7:35 PM To: 'Log4J Users List' Subject: RE: configureAndWatch
G'day,
Could you possibly explain as to why this is so?
AB
-----Original Message----- From: Ceki Gülcü [mailto:ce...@qos.ch] Sent: Saturday, 12 June 2004 5:25 AM To: Log4J Users List Subject: Re: configureAndWatch
Hello Mike,
It is *not* OK to use configureAndWatch in a web-app.
At 09:09 PM 6/11/2004, you wrote:
Is it OK to use configureAndWatch in a Servlet?
Mike
-- Ceki Gülcü
For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- Ceki Gülcü
For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
-- Ceki Gülcü
For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp







