Hi,
I'm glad you got the permissions sorted but your initial post suggested you
were hoping to have multiple JVMs writing to the same file.
This would most likely be a bad thing and would probably leave you with
mangled logs.
Regards
Andy
> -Original Message-
> From: William Noto [m
Per the XML 1.0 recommendation, http://www.w3.org/TR/REC-xml/
#charsets, #x1E is not a valid character and should not occur in an
XML document even if escaped as a character entity. Any XML parser
may (might be should or must, but I'd need to check) reject such a
document as not being vali
Ah ha -
Somewhere some script was telling tomcat to use umask 022. We got around
this by inserting umask 002 in our Catalina.sh script found in ~tomcat/bin/.
Hope this may help someone else in the future.
-Original Message-
From: James Stauffer [mailto:[EMAIL PROTECTED]
Sent: Friday,
The code doesn't explicitly specify permissions (It would be hard to
do that in a cross-platform manner) so my only advice is to research
into getting Linux to set the correct permissions.
On Fri, 18 Mar 2005 11:05:48 -0500, William Noto <[EMAIL PROTECTED]> wrote:
> Thanks for the very quick reply
Thanks for the very quick reply, James. I believe that I currently allow
group write in the directory. When I execute "umask -S", I see:
"u=rwx,g=rwx,o=rx" and when I execute straight "umask", I get: "0002"
[EMAIL PROTECTED] logs]$ umask -S
u=rwx,g=rwx,o=rx
[EMAIL PROTECTED] logs]$ umask
0002
[E
Can you set the umask so that the group has write permissions?
On Fri, 18 Mar 2005 10:34:34 -0500, William Noto <[EMAIL PROTECTED]> wrote:
> Hi all -
>
> I've looked around on the web and through some message boards trying to find
> if someone has already asked this question. I've read through th
Hi all -
I've looked around on the web and through some message boards trying to find
if someone has already asked this question. I've read through the FAQ and I
don't think that I've seen this asked before. Please excuse me if this
question HAS been asked before.
I'm creating a code base
I'm using log4net to generate log files that I'm reading with
chainsaw. Some of the "text" of a log message may contain control
characters (e.g., with a value of 0x1e"). Log4net escapes them as XML
entinties (e.g., ).
When chainsaw using the UdpReceiver tries to parse the log, it fails.
Here's an
I got the jar command to work, I had to run it within the directory I have
java installed, so what else should I check? I ran:
C:\j2sdk1.4.2_05\bin>jar -tf "c:\Documents and
Settings\PRGJR1\.maven\repository
\log4j\jars"\log4j-1.2.9.jar | find "Category.class"
And got this:
org/apache/log4j/Cat
Posting your whole config file may help.
On Fri, 18 Mar 2005 09:12:27 -, Mark Benussi
<[EMAIL PROTECTED]> wrote:
> I have set up an appender to log all my SQL executed:
>
> log4j.appender._SQL = org.apache.log4j.DailyRollingFileAppender
>
> log4j.appender._SQL.File = /usr/logs/sql.out
>
>
Use the following
URL url = this.getClass().getResource("log4j.properties");
// Configure the properties and observe the file every 2 seconds
PropertyConfigurator.configureAndWatch(url.getPath(), 2000);
-Original Message-
From: Elihu Smails [mailto:[EMAIL PROTECTED]
Sent: 18 March 2005 1
Is it possible for Log4J to dynamically reload the configuration file?
For instance, if I have my configuration set to INFO, and there is a
problem in my program and want to increase the logging to DEBUG, could
I change the config file to reflect DEBUG and then call
PropertyConfigurator.configure(
That will give you grep and many other unix utils so that you could
run the commands that were recommended. It doesn't address your issue
directly but gives you more tools to help.
On Thu, 17 Mar 2005 09:26:08 -0500, Jason Roscoe <[EMAIL PROTECTED]> wrote:
> What will this give me? I downloaded
Mark
I am using log4j-1.2.9.jar.
The exact error message as diplayed in server console:
***
INFO: WEB0100: Loading web module [servlet2] in virtual server [server1] at
[/servlet2]
I
Subhendu,
What version of Log4J are you using, and what is the exact error message?
Mark
On Wed, 16 Mar 2005 21:06:24 +0530, subhendu mahanta
<[EMAIL PROTECTED]> wrote:
>
> We are working with Sun Application Server 2004Q2. and want to use JMSAppender
> I have used a properties file logger.pro
I have set up an appender to log all my SQL executed:
log4j.appender._SQL = org.apache.log4j.DailyRollingFileAppender
log4j.appender._SQL.File = /usr/logs/sql.out
log4j.appender._SQL.DatePattern = '.'-MM-dd
log4j.appender._SQL.layout = org.apache.log4j.PatternLayout
log4j.appender._SQL.
16 matches
Mail list logo