Re: Logging from shared components

2002-08-28 Thread Ceki Gülcü
You can't do this in log4j 1.2 but in future versions. At 22:48 27.08.2002 -0500, you wrote: Hi all... I'm a newbie to this list, so apologies up front if this question has been asked and answered before. Here's a logging scenario that I'd like to configure, but can't seem to find the magic

Issues from mainframe

2002-08-28 Thread Sudhir Tadepalli
Hi, We are using log4j in our project and are planning to deply the same in WAS4.0 on mainframe. Are there any known issues or bugs with using log4j on mainframe regards, Sudhir __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes

RE: pure java log4j

2002-08-28 Thread Shapira, Yoav
Hi, If you don't need to use the NTEventLogAppender, you don't need the DLL. I'd say we use a lot of the features of log4j in production, and we only use pure java... Yoav Shapira Millennium ChemInformatics -Original Message- From: Madhav Inamti [mailto:[EMAIL PROTECTED]] Sent:

Is PropertyConfigurator.configureAndWatch() expensive?

2002-08-28 Thread Denis McCarthy
Hi there, I'm thinking of making my log4j.properties file dynamically configurable by using configureAndWatch() in my application configuration. Prior to this I would like to ensure that it does not hog system resources in any way. Can anyone confirm that using configureAndWatch() does not lead

RE: Logging idioms or guidelines: anyone have some?

2002-08-28 Thread peter riegersperger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So I'm interested in a best practices of logging, or a logging standard. Have a look at ISO-23544-5. an iso-standard for logging? that made me curious. but the iso-website claims to be unaware of a standard with that number. where can i get

Page not found

2002-08-28 Thread Nicholas, Brent
The following link: Add logging to your Java Applications http://builder.com/article.jhtml?id=u00820020124kev01.htm by Kevin Brown On page: http://jakarta.apache.org/log4j/docs/documentation.html Is not working. Thanks, Brent Nicholas Application Architect / Developer Ricardo Inc. Detroit

Re: Page not found

2002-08-28 Thread Ceki Gülcü
It'll be removed. Thanks. At 10:02 28.08.2002 -0400, you wrote: The following link: Add logging to your Java Applications http://builder.com/article.jhtml?id=u00820020124kev01.htm by Kevin Brown On page: http://jakarta.apache.org/log4j/docs/documentation.html Is not working. Thanks, Brent

Re: Logging from shared components

2002-08-28 Thread Timothy Bennett
Ok... fair enough... I'll wait for a future version then... In the meantime, if I log all servlets to the same log, is there a way I could write the events from each servlet so that I could filter the log when I view it to only see events from one specific servlet? - Original Message -

Reading properties from config file other than log4j.properties?

2002-08-28 Thread Jason Rizer
Hello, I'm just beginning to incorporate log4j into a J2EE Resource Adapter I'm writing. My project already has a configuration property file (lyConfig.properties) from which I gather various configuration parameters at startup. Rather than adding log4j.properties to my environment I'd like to

Re: Logging idioms or guidelines: anyone have some?

2002-08-28 Thread Eric Jain
an iso-standard for logging? that made me curious. but the iso-website claims to be unaware of a standard with that number. where can i get some information about it? I was just joking, though there is in fact a standard, ISO/IEC-17799:2000. This standard describes security measures and

Conversion character for system properties?

2002-08-28 Thread Dan Walker
Hi, I would like to make the system property user.name show up in each log entry. Is there a conversion character for this purpose or some other (easy) way of getting what I want? Thanks, Dan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Conversion character for system properties?

2002-08-28 Thread Luc_Bell
${user.name} Luc Dan Walker [EMAIL PROTECTED] on 08/28/2002 10:55:24 AM Please respond to Log4J Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Conversion character for system properties? Hi, I would like to make the system property user.name show up in each log

DailyRollingFileAppender not renaming files

2002-08-28 Thread Shawn Wilson
Hi, I'm using log4j on the Windows platform and many times I notice that DailyRollingFileAppender is not able to rename the log file. I get this messages on stderr: log4j:ERROR Failed to rename [c:/path/to/my/file] to [c:/path/to/my/file.2002-08-27]. I searched the archives and someone had

Re: DailyRollingFileAppender not renaming files

2002-08-28 Thread Ceki Gülcü
At 09:04 28.08.2002 -0600, you wrote: Hi, I'm using log4j on the Windows platform and many times I notice that DailyRollingFileAppender is not able to rename the log file. I get this messages on stderr: log4j:ERROR Failed to rename [c:/path/to/my/file] to [c:/path/to/my/file.2002-08-27]. I

RE: DailyRollingFileAppender not renaming files

2002-08-28 Thread Shawn Wilson
I know for a fact it happens with log4j-1.2.5. Now, I think I'm using log4j-1.2.6 now but I'm not certain because even though I stopped the webapp (it's running under Tomcat) and put the 1.2.6 jar in the /lib folder, the 1.2.5 jar file was locked so I wasn't able to remove it. Now, after starting

RE: DailyRollingFileAppender not renaming files

2002-08-28 Thread Ceki Gülcü
Your suggestion does not explain the following fact File permissions are okay... and it seems to work fine for a few days after first starting up Tomcat, but then for some reason it just stops renaming the files and overwrites the same file every day. I don't think the single quotes in

RE: DailyRollingFileAppender not renaming files

2002-08-28 Thread Shawn Wilson
Are you suggesting that maybe the permissions changed? Well, the rename failed last night, and I just checked and the attributes for every folder down to that file are either blank or A (archivable), so it should have no problem writing a new file. Disk space has 4.11GB free, so that is not an

RE: DailyRollingFileAppender not renaming files

2002-08-28 Thread Ceki Gülcü
On windows, there is more to security then the R attribute. When you select a folder in explorer, right click and choose Properties. Do you see a tab called Security? You should at least see General and Sharing. ps: I assume your are running Windows NT, 2000 or XP. At 10:03 28.08.2002 -0600,

line wrapping

2002-08-28 Thread Laura M. Ly
Is there some way to have log4j wrap lines for us? I would love to wrap at 255 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Is PropertyConfigurator.configureAndWatch() expensive?

2002-08-28 Thread Mark Womack
configureAndWatch() creates a thread that will sleep most the time except for the period of time you have configured it to wake up and check for changes. The check itself is fairly simple and not very intensive, and the reconfiguration is no different than normal configuration calls. Besides

RE: creating log file for each user

2002-08-28 Thread Ebersole, Steven
I would not cluster such a solution (we actually have a dedicated logging server with pooled MDB instances). The reason is that the clustered MDBs would really be operating on seperate boxes, and thus there would be seperate files (i.e., one on each server) with the individual logging events