[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-15 Thread ramdas
The output thrown to JBOSS_CONSOLE is quite different and we have noticed that 
when we have had JVM crashes, the JVM messages are dumped in the console output 
and not in server.log. If you redirect JBOSS_CONSOLE to a file instead of 
/dev/null, you will  see the differences.  

Thanks

Ramdas

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971979#3971979

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-15 Thread kaobe
Hi Ramdas, 

the configuration is not different from the server.log at all. 
What messages are given out on the console that do not appear in the server.log 
(if you have the same threshold defined)? I  haven't noticed anything different 
yet. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971866#3971866

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971866
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-14 Thread ramdas
Peter,

I corrected the extra tag for the appender and removed the target - but now my 
output will be the same as server.log.
I  am wondering, if i remove the "Target" parameter, how different is this 
going to be from creating the application server log.  The console output 
captures stuff which the server.log does not - in particular JVM related 
messages and that is the stuff that i want to get into a file which can be 
rolled over.

Thanks

Ramdas


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971646#3971646

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-14 Thread kaobe
Hi Ramdas, 

there are some errors in your configuration. First you finish the opening 
appender tag with "/>". That brings a SaxParseException. Then you have the 
param "Target" that is not possible for the FileAppender. 
Apart from that your configuration works for me. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971490#3971490

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971490
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-13 Thread ramdas
Peter,

I tried your suggestion but there was no output to the log. Here is what i used:

  |  
  |   
  |   
  |   
  |   
  |  
  |   
  |  
  |  
  |   
  |
  | 

What am i doing wrong here?

Thanks

Ramdas

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971326#3971326

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971326
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-13 Thread kaobe
Hi Ramdas, 

I'm not sure if I understand you right. But if you want to capture the output 
to the console in your file, why don't you change the "CONSOLE" appender in 
log4j.xml to use a RollingFileAppender like the "FILE" appender? Then you could 
remove the redirect from the shell to console.log and configure logging via 
log4j. 

If I got you wrong, please give me some more input. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971200#3971200

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971200
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-12 Thread ramdas
Peter,

In my configuration, when JBoss starts, the console output is redirected to a 
file (using start_jboss.sh > console.log 2>&1). 

I am trying to find a way to rollover the log file which is being created as  a 
result of redirecting console output.
I realize that the format of the data output to the console is being influenced 
by the following in log4j.xml 

  | 
  |   
  |   
  |   
  | 
  |   
  |  
  |  
  |   
  |
  | 
I tried using an element in log4j.xml similar to the one i have used for 
creating and rolling over the JBoss server.log. But it does not have any 
influence on console.log - which i think makes sense since the console.log file 
is not created by log4j but by my shelll script which is redirecting the 
console output.
I am trying to find if there is a way to capture the console output to a file 
and also rollover that file every day.

Thanks

Ramdas

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971154#3971154

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-12 Thread kaobe
Hi Ramdas, 

what does not work when changing the configuration of log4j.xml. Normally this 
is the place where you put your configuration. What have you changed and what 
doesn't work?

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970970#3970970

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970970
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user