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
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");
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
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
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
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
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
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
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
> 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
--
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
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());
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
13 matches
Mail list logo