Thanks, Curt. Enabling remote packets solved the problem.
-Original Message-
From: Curt Arnold [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 12:42 PM
To: Log4J Users List
Subject: Re: syslogging in log4j
On Jul 21, 2005, at 11:37 AM, Ceki Gülcü wrote:
>
> Jerry,
>
> Is the Sy
So you don't touch the root logger anywhere?
(another thing that you could try is set your Logger's additivity to
false, that way it doesn't "relay" the events to its parent loggers)
On 7/21/05, Mike Wannamaker <[EMAIL PROTECTED]> wrote:
>
> Logger logger = Logger.getLogger(strLoggerName);
> set
Sorry...wrong list!
--- Ron Grabowski <[EMAIL PROTECTED]> wrote:
> When I set my root logger to OFF:
>
>
>
>
>
>
> A zero byte output file for my FileAppender appender is still
> created.
> Why is this? I would expect no file to be created.
---
When I set my root logger to OFF:
A zero byte output file for my FileAppender appender is still created.
Why is this? I would expect no file to be created.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
On Jul 21, 2005, at 11:37 AM, Ceki Gülcü wrote:
Jerry,
Is the Syslog daemon on "somehost.com" configured to accept packets
from the network? On most installations, by default Syslog is
configured to reject input from the network.
Home this helps,
The PHP implementation is likely usin
Jerry,
Is the Syslog daemon on "somehost.com" configured to accept packets from
the network? On most installations, by default Syslog is configured to
reject input from the network.
Home this helps,
At 04:31 PM 7/21/2005, you wrote:
I am converting our PHP code to java and am able to writ
Logger logger = Logger.getLogger(strLoggerName);
setUpLoggerUsingGlobalAppender(logger);
void setUpLoggerUsingGlobalAppender(Logger log)
{
if(m_GlobalAppender == null)
{
try
{
Then show us your configuration code ;). Perhaps you are loading a
basic configuration and then tweaking your Loggers? BasicConfiguration
has an INFO-level ConsoleAppender attached to the RootLogger...
On 7/21/05, Mike Wannamaker <[EMAIL PROTECTED]> wrote:
> I don't have a log4j.properties file.
I don't have a log4j.properties file. I configure the logger internally via
java code. I install a RollingFileAppender only to each Logger that is
created and set it's level programmatically. Could it be that the default
root logger logs certain levels to System.out and/or System.err?
TIA
--eki
Sorry, that was a "typo" on my part. The actual config file that I have
does specify "log4j.logger.test.TestClass=DEBUG, S", but I am still not
seeing any output in the syslog file.
-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 9:41 AM
To
Could it be that
> log4j.logger.test.TestClass=DEBUG, Z
Should really say
> log4j.logger.test.TestClass=DEBUG, S
> -Original Message-
> From: Jerry King [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 21, 2005 10:32 AM
> To: log4j-user@logging.apache.org
> Subject: sy
I am converting our PHP code to java and am able to write to the syslog
using PHP supplied functions, but have not been able to use log4j to supply
that same behavior. My config file looks like this:
# define syslog appender
log4j.debug=true
log4j.appender.S=org.apache.log4j.net.SyslogAppender
log
If what you want is not have any messages at all in your console,
don't attach the console appender to any logger :)
If what you want is to have only errors and fatals in your console but
no infos, then set the threshold of the console appender to "ERROR".
On 7/21/05, Sriram Venkatasubramanian
<[
http://logging.apache.org/site/binindex.cgi
Log4j project section, logging-log4j-1.3alpha-6 (full package, includes
binaries and source files)
-Allen
Mark Womack wrote:
What page did you access this bad link from?
-Original Message-
From: Allen Kardakaris [mailto:[EMAIL PROTECT
14 matches
Mail list logo