Re: Getting a good user experience on Windows?

2002-01-04 Thread Scott Farquhar
If you are dealing with users, and across platforms, you may want to use java webstart (http://java.sun.com/products/javawebstart/). It allows for GUI starting of programs (but won't help with any of your problems). Also - javaw starts programs in the background, whilst java starts in the for

Re: Getting a good user experience on Windows?

2002-01-04 Thread Bob Jacobsen
Thanks for the quick reply! At 4:53 PM +1100 1/5/02, Scott Farquhar wrote: >a. This occurs from the default windows installation running jar >files with "javaw -jar xxx.jar". You wish to change this to be >"java -jar xxx.jar". > >This is a registry setting (from memory), so this would not be an

Re: Getting a good user experience on Windows?

2002-01-04 Thread Scott Farquhar
a. This occurs from the default windows installation running jar files with "javaw -jar xxx.jar". You wish to change this to be "java -jar xxx.jar". This is a registry setting (from memory), so this would not be an easy fix for your users. You could make a batch file (".bat") or command fil

Getting a good user experience on Windows?

2002-01-04 Thread Bob Jacobsen
I've been using Log4J on a Linux/Macintosh project for a while, with much success. But I've started to get some Windows users (esp. Win98, which seems to be quite popular among my hobbyist users), and they're not happy. I'd like some advice on how to solve two problems. I'm using a ConsoleAp

Changing FileAppender filepath dynamically

2002-01-04 Thread T Master
Ceki, Thankyou very much for the help last time with activateOptions() to effect the new directory change for FileAppenders. I have noticed the log files are created in the new directory as desired, and logs entered in them correctly. However, the old log files are still held by Log4J (thus can

Re: Turning a Category On/Off

2002-01-04 Thread Chris Gerrard
The ejbSuccess.info("** UPDATE SUCCESS -> OFF"); method will emit the messages as "info" is a "higher" priority than "debug". If you set the priority to something higher than "info", e.g. "warn" the message should be appear. Try using ejbSuccess.setPriority(Priority.WARN); Good luc

Re: Turning a Category On/Off

2002-01-04 Thread T Master
It was in my file where my FileAppender is associated with. > My File contains: > ** UPDATE SUCCESS -> OFF > - Original Message - From: "Shanmugam, Balajee" <[EMAIL PROTECTED]> To: "'Log4J Users List'" <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 4:12 PM Subject: RE: Turn

RE: Turning a Category On/Off

2002-01-04 Thread Shanmugam, Balajee
i think what you see in the console is your system.outs ... remove them from the code and try ... -Original Message- From: T Master [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 5:12 PM To: Log4J Users List Subject: Re: Turning a Category On/Off After setting my logger to DE

Re: Turning a Category On/Off

2002-01-04 Thread T Master
After setting my logger to DEBUG to stop info() messages, I am still getting output. Anyone have ideas why please? Below are some clear details on code, stdout, and file output. Code: System.out.println("** UPDATE SUCCESS -> OFF"); ejbSuccess.setPriority(Priority.DEBUG);

Turning a Category On/Off

2002-01-04 Thread T Master
Apologies for dumb questions... I am trying to dynamiccally modify my Category's Priority at run time. The code below is used to effect this: myCategory.setPriority(Priority.INFO); // Turn ON myCategory.setPriority(Priority.DEBUG); // Turn OFF However, after turning

RE: Log4J encapsulation is poor

2002-01-04 Thread Charles Hudak
I agree with Kevin. Java used to have a 'private-protected' access modifier that was synonymous with C++ protected but they dropped it after 1.0. This was a bad idea, IMHO. Often you'd like to restrict access to variables to the class and its subclasses only. Protected doesn't give you this as it

Re: Log4J encapsulation is poor

2002-01-04 Thread Kevin Steppe
In my opinion Java lacks the best access modifier for OO code -- access for the class and its descendants but no one else. Protected is close, with package being a possible choice too. Public access doesn't restrict me and rarely causes problems even though it's theoretically bad, however not be

Re: Directing SocketAppender output to a File

2002-01-04 Thread Steve Ebersole
Are you planning on using the included SocketServer/SocketNode combination on the server side? If so, it's normal operation is to set up loggers by the incoming ip address of the client. If you really want to log everything coming to the socket in this setup, then just use the root logger/catego

centralized logging

2002-01-04 Thread Madan, Kapil
Hi All !! Can anyone please tell me if I am implementing my own LogManager and all classes in different packages make instance of this LogManager then how can I get actual category of the logging classes(which are in various packages) using the %c{n}in the pattern. Thanks in advance -Kapi

problems configuring RollingFileAppener

2002-01-04 Thread Regele, Manfred
Hello, I try to configure an RollingFileAppender. It logs fine, but I want it to switch the logfile each day - but that does not happen. Do I have a typo or such thing wrong in my configuration file ? ---

Directing SocketAppender output to a File

2002-01-04 Thread Balaraman Sujatha
Hi, I am trying to use the SocketAppender to log messages from various JVM's to a single log file. On the Client side, I have defined a SocketAppender as follows: # Set ctm category priority to ERROR and its appender t