How to log JApplet to a JFrame

2006-09-13 Thread Mansour
I am writing an applet, and hoping I can find a way to log to a JFrame. My applet consists of many classes. So I 'll have to wrap them in a jar. Is there a direct way to do this ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Sending "special" messages to a different appender

2006-09-13 Thread Bryce Nesbitt
I wish to write a separate log of certain special and important messages. In perl, this might go: print NORMALLOG "foo"; print NORMALLOG "fum" print SPECIALLOG "special message"; Can this be done with log4j? This would be something looking roughly like: logger.info("fum");

Re: Logging issue

2006-09-13 Thread James Stauffer
You can have each server use a SocketAppender and then have SocketServer (not sure on the name) to receive them and write them to a file. On 9/13/06, Shashank <[EMAIL PROTECTED]> wrote: Hi All, I am relatively new to setting up the log4j. And i have a problem. I have two app servers generating

Logging issue

2006-09-13 Thread Shashank
Hi All, I am relatively new to setting up the log4j. And i have a problem. I have two app servers generating 2 seperate logging files. I need a way for them to generate a single logging file. If there was a way to get the logger to use a web service that can be used for logging asynchronoulsy th

How configure the categories for console, logFile and htmlFile showing different levels

2006-09-13 Thread David
Dear members, I would like to separate the information from log4j ouptut into the following appenders (files) htmlLogFile, console: myapp for INFO level, net.sf for WARN level logFile: myapp for DEBUG level, net.sf for WARN level so I wan

Re: How to set permission of log files

2006-09-13 Thread James Stauffer
Correct me if I am wrong. You have different users running your application but they all write to the same log file. Can you make each user log to their own file (i.e. in their home directory)? If not you could make a batch file to run the program which changes the log file permissions when the p

chainsaw with CustomSQLDBReceiver

2006-09-13 Thread karen . e . greene
Hi. I was hoping someone may have gotten a chance to look at this error I am getting. I am using CustomSQLDBReceiver with chainsaw. When chainsaw is launched, I am getting a null pointer exception (the details of which are included below). Any thoughts on what the issue might be? I have in

RE: Where to put config file?

2006-09-13 Thread Blok, Eelke
From: sudhakardvvn [mailto:[EMAIL PROTECTED] > We are developing a new project which consists of 3 modules, in which 2 modules uses pure > java classes and another module uses ejb's. I want seperate config files for each module. My > question is where to put the config file and how to pass them

Where to put config file?

2006-09-13 Thread sudhakardvvn
HI, We are developing a new project which consists of 3 modules, in which 2 modules uses pure java classes and another module uses ejb's. I want seperate config files for each module. My question is where to put the config file and how to pass them to the class? Hope framed the question in correct

AW: DailyRollingFileAppender failing

2006-09-13 Thread Patrick Wyss
> I appreciate that this problem is OS specific (Windows 2003 > Server) and has windows may not be able to rename files if they are open in some applications. try ProcessExplorer (http://www.sysinternals.com/Utilities/ProcessExplorer.html) to see if a file is open by another process --

AW: Spam: MaxBackupIndex

2006-09-13 Thread Patrick Wyss
MaxBackupIndex is only available in RollingFileAppender not in DailyRollingFileAppender. if you are interessted i can send you a modified DailyRollingFileappender that keeps only a limited amount of files (and zips old logs) cheers patrick > -Ursprüngliche Nachricht- > Von: nithya rajee

RE: Logger.getRootLogger() or Logger.getLogger(this.getClass())

2006-09-13 Thread Blok, Eelke
Mansour wrote: > public class MainClass{ > Logger mainLogger=Logger.getLogger(this.getClass()); > BasicConfigurator.configure(); > mainLogger.setLevel(Level.ALL); > //. > //more code > new AnotherClass(); > } > class AnotherClass{ > //code > Logger subLogger=Logger.getLogger(this.getClass());

RE: [SPAM (Keyword Checking)] - Re: Logger.getRootLogger() or Logger.getLogger(this.getClass()) - Found word(s) check out list error if you received this in error in the Text body

2006-09-13 Thread Bender Heri
First: it is normally not necessary to call BasicConfigurator.configure(); mainLogger.setLevel(Level.ALL); if you have set up the logging framework properly through config file. Such code you need only in special circumstances. It's just enough to call Logger.getLogger( ). You can do this