never see the logs, only your first level
>> support team and (if they can't figure out the problem), your second level
>> support (probably your development team) will ever look at the log files.
>>>
>>> Best regards,
>>> Remko
>>>
>>> Sent fr
ly your first level
> support team and (if they can't figure out the problem), your second level
> support (probably your development team) will ever look at the log files.
> >
> > Best regards,
> > Remko
> >
> > Sent from my iPhone
> >
> >> On 201
never see the logs, only your first level
> support team and (if they can't figure out the problem), your second level
> support (probably your development team) will ever look at the log files.
>
> Best regards,
> Remko
>
> Sent from my iPhone
>
>> On 2015/01/
your second level support
(probably your development team) will ever look at the log files.
Best regards,
Remko
Sent from my iPhone
> On 2015/01/16, at 2:54, "Blaine Bergeson (bbergeson)"
> wrote:
>
> Hi,
>
> I am just getting started using Log4j2 and after pouring over th
Hi,
I am just getting started using Log4j2 and after pouring over the documentation
which is pretty good I would still like some assurance that I am heading the
right direction. I feel like my use case is the most fundamental case but
there must be a slicker way than how I am implementing it
apache.org/jira/browse/LOG4J2-486>
>
>
>
> --
> View this message in context:
> http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-rolling-files-tp8406p42663.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
> --
;ll open a jira issue for this question.
→ https://issues.apache.org/jira/browse/LOG4J2-486
<https://issues.apache.org/jira/browse/LOG4J2-486>
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-rolling-files-tp8406p42663.html
Sent from the
ication, I
> get this error message:
>
>
> Any suggestions?
>
>
>
> --
> View this message in context:
> http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-rolling-files-tp8406p42651.html
> Sent from the Log4j - Users mailing list archive at Nabble.com
start the application, I
get this error message:
Any suggestions?
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-rolling-files-tp8406p42651.html
Sent from the Log4j - Users mailing list archive at
ted.
Best regards,
Remko
>
>
> --
> View this message in context:
> http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-rolling-files-tp8406p42402.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
ith @Plugin and
@PluginFactory)?
- how to write to the logfiles within my rollover method?
Could you help me at this point?
I would be happy to get some sample source snippets.
Cheers, Joe
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/log4j2-getting-started-ro
All the elements are documented on the web site. For example, the Appenders are
documented at http://logging.apache.org/log4j/2.x/manual/appenders.html. The
triggering policies are documented under the RollingFileAppender. As the
example there shows, the CompositeTriggeringPolicy is used simply
That would work too. thanks will post back after a fortnight when I get a
chance to try that.
Suggestion: 1 if using default config then let the default configuration
status="debug" so we know we did not correctly initialize log4j2
2 print the canonical file name/ full URL if configuration status
I was just looking at the code and I'm not sure you are aware that the
RollingFileAppender uses a RolloverStrategy. You don't have to configure it as
DefaultRolloverStrategy is used if you don't specify one. The rollover
strategy has method named rollover that is passed the RollingFileManager
Thanks for downloading Log4j 2 and working with it!
RollingFileAppender currently doesn't support a listener but I see no reason it
couldn't. Feel free to create a Jira issue for this feature. If you would
like to implement it as well that would be fantastic!
Ralph
On Aug 29, 2012, at 2:26 P
Happy to have downloaded the alpha sources using wget (wget is nifty worked
on windows too : wget -e robots=off --cut-dirs=3 -r -p -np
--no-check-certificate
https://repository.apache.org/content/repositories/orgapachelogging-009/org/apache/logging/log4j/)
and making my first test project with log4
n.action.ConfigurationAction#end:49)- Will stop
> writing internal logs on console.
> Wanting to add a row, but GUI not initialized, waiting...
>
>
>
>
> On Mon, Mar 22, 2010 at 10:52 AM, Scott Deboy
> wrote:
> > A couple of things
> > - it's always a good idea to chec
, on
> Windows, I use: file:///c:/path/to/chainsaw.xml
>
> Scott
>
> On Mon, Mar 22, 2010 at 7:41 AM, Anoop Bhatti wrote:
>
>> I'm having problems getting started with Chainsaw.
>> I want to read from a server log file.
>> Here's what I did:
>>
>
your log - for the fileURL, on
Windows, I use: file:///c:/path/to/chainsaw.xml
Scott
On Mon, Mar 22, 2010 at 7:41 AM, Anoop Bhatti wrote:
> I'm having problems getting started with Chainsaw.
> I want to read from a server log file.
> Here's what I did:
>
> In my ~/.bashrc
I'm having problems getting started with Chainsaw.
I want to read from a server log file.
Here's what I did:
In my ~/.bashrc I have
export CHAINSAW_HOME=/home/me/Desktop/chainsaw-bundle
I have the chainsaw dir here:
/home/me/Desktop/chainsaw-bundle
I have a chainsaw.xml file in the
I'm new to log4j, but had similar problems sporadically. You are
configuring log4j programmatically, while I was using a config file. It
wasn't finding my config file until I learned that the log4j.xml file
needs to be somewhere in the classpath (even if it's just ".") or
explicitly reference
James,
I'll try reading about that.
Thanks,
Landon
On 5/22/07, James Stauffer <[EMAIL PROTECTED]> wrote:
I don't see anything wrong but I use automatic XML config so I am not
familiar with code config. You may want to try XML config.
On 5/22/07, Redefined Horizons <[EMAIL PROTECTED]> wrote:
I don't see anything wrong but I use automatic XML config so I am not
familiar with code config. You may want to try XML config.
On 5/22/07, Redefined Horizons <[EMAIL PROTECTED]> wrote:
I was just about to write some debug code by hand in my Java classes
when I remembered reading about log4j.
I was just about to write some debug code by hand in my Java classes
when I remembered reading about log4j. I checked out the website and
it seemed to do exactly what I needed, only better. I have decided to
give it a try.
However, after reading a couple of the tutorials and the online manual
I f
: "Log4J Users List"
Sent: Wednesday, March 07, 2007 5:30 AM
Subject: Re: Log4J and Tomcat 5.5 - Trouble getting started
At 05:29 PM 3/6/2007, you wrote:
>You cannot log or add any other statement outside of a method. You will
>have to learn some more Java ;-)
>
I just looked ba
nd wanted to note the environment I'm using.
>>
>>
>>
>>
>> - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]>
>> To: "Log4J Users List"
>> Sent: Monday, March 05, 2007 10:37 PM
>> Subject: Re: Log4J and
se the changes in logging had
> affected things- it is a while since I've been developing with java
> and wanted to note the environment I'm using.
>
>
>
>
> - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]>
> To: "Log4J Use
interpreting the code as
you view it in the editor. Given this, the deployment environment is
superfluous to the issue at hand.
Jake
>
>
>
> - Original Message -
> From: "Jacob Kjome" <[EMAIL PROTECTED]>
> To: "Log4J Users List"
> Sent: Monday
quot;Jacob Kjome" <[EMAIL PROTECTED]>
To: "Log4J Users List"
Sent: Monday, March 05, 2007 10:37 PM
Subject: Re: Log4J and Tomcat 5.5 - Trouble getting started
Quoting Chris Chappell <[EMAIL PROTECTED]>:
Hi
I'm developing an app with Tomcat 5.5 and am trying to add
Quoting Chris Chappell <[EMAIL PROTECTED]>:
> Hi
>
> I'm developing an app with Tomcat 5.5 and am trying to add logging to it.
> I've tried lots of things and none seem to work:
>
> I have code like:
>
> import java.sql.Connection;
> import java.sql.SQLException;
> import java.sql.Statement;
>
> i
Hi
I'm developing an app with Tomcat 5.5 and am trying to add logging to it.
I've tried lots of things and none seem to work:
I have code like:
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import javax.naming.Context;
import javax.naming.InitialContext;
Sorry, it can't be socketHubReceiver, since it initiates a connection to the
appender. But it could be locationInfo or MDC.
-Original Message-
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: Sat 11/5/2005 12:52 PM
To: Log4J Users List
Subject: RE: Help getting started with Cha
: Help getting started with Chainsaw V2
.1.2.12
Scott Deboy wrote:
>What version of log4j are you using on the appender side?
>
>I haven't tested with versions prior to 1.2.8.
>
>Scott
>
>
>-Original Message-
>From: Bill Harrelson [mailto:[EMAIL PROTECTED]
ate the user initiating the process
with the logging events for that process. search your code for MDC.
On Linux, you probably have to find the javaws app and run it, and find the
console option and check it.
Scott
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Fri
What version of log4j are you using on the appender side?
I haven't tested with versions prior to 1.2.8.
Scott
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Sat 11/5/2005 9:56 AM
To: Log4J Users List
Subject: Re: Help getting started with Chainsaw V2
T
s
with the logging events for that process. search your code for MDC.
On Linux, you probably have to find the javaws app and run it, and find the
console option and check it.
Scott
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Fri 11/4/2005 8:33 PM
To: Log
er initiating the process
with the logging events for that process. search your code for MDC.
On Linux, you probably have to find the javaws app and run it, and find the
console option and check it.
Scott
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Fri 11/4
J Users List
Subject: Re: Help getting started with Chainsaw V2
Thanks Scott,
I tried your suggestion and got some odd behavior. At first, it created
a tab in chainsaw, recorded one message, and stopped.
I tried repeatedly stopping and starting everything, and even taking all
other appenders out
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Fri 11/4/2005 6:44 PM
To: Log4J Users List
Subject: Re: Help getting started with Chainsaw V2
Thanks Scott,
I tried your suggestion and got some odd behavior. At first, it created
a tab in chainsaw, recorded one message, and stopped.
I t
ssage-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 04, 2005 1:00 PM
To: Log4J Users List
Subject: Re: Help getting started with Chainsaw V2
The idea of using SocketHubAppender was very helpful, in theory for what
I want, but I'm having trouble getting it to work.
em to be received by a log4j 1.3
socketreceiver (Chainsaw v2).
Scott
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 1:00 PM
To: Log4J Users List
Subject: Re: Help getting started with Chainsaw V2
The idea of using SocketHubAppender was
ed: the
-receiver- connects to the appender - so you can run Chainsaw from any
number of clients and connect to the server running a SocketHubAppender
Try out SocketHubAppender and Receiver, and more than one person can
view the events at the same time, without changing your server
configuration.
H
Users List
Subject: RE: Help getting started with Chainsaw V2
Hi Scott,
The SocketHubAppender/SocketHubReciever looks a much better choice.
I had a go but get Connection refused errors. Here's my remote log4j
configuration:
I set up the Chainsaw receiver with the p
heers
Rakesh
-Original Message-
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: 02 November 2005 18:17
To: Log4J Users List
Subject: RE: Help getting started with Chainsaw V2
SocketReceiver just needs a port to listen on - it's accepting
connections on a port. SocketAppender is tol
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 9:41 AM
To: Log4J Users List
Subject: RE: Help getting started with Chainsaw V2
Hi Scott,
Well I ran my app locally and configured the log4j.xml file like this:
Then in Chainsaw set up a new Soc
List
Subject: RE: Help getting started with Chainsaw V2
Thank you Scott. I will read through your post carefully.
Can I ask one quick question just in case - can I setup a SocketAppender
in my remote app sending events on port 4445 which is using log4j1.2x
and have them received by Chainsaw v2? If so,
al Message-
From: Michael Pitoniak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 9:12 AM
To: Log4J Users List
Subject: RE: Help getting started with Chainsaw V2
Scott,
When is the next release due (roughly)?
thx,
mike
"Scott Deboy" <[EMAIL PROTECTED]>
11/02/2005
Scott,
When is the next release due (roughly)?
thx,
mike
"Scott Deboy" <[EMAIL PROTECTED]>
11/02/2005 11:39 AM
Please respond to
"Log4J Users List"
To
"Log4J Users List"
cc
Subject
RE: Help getting started with Chainsaw V2
Yes -
One note: o
Yes -
One note: on the log4j 1.2.x side, don't enable locationInfo or use MDC
(we'll fix these prior to release)
-Original Message-
From: Rakesh Patel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 8:37 AM
To: Log4J Users List
Subject: RE: Help getting st
.
Cheers
Rakesh
-Original Message-
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: 02 November 2005 16:16
To: Log4J Users List
Subject: RE: Help getting started with Chainsaw V2
Resending, hoping spaces make the table display correctly.
-
Receivers do the work of getting logging
ivers, etc.
Scott
-Original Message-
From: Rakesh Patel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 7:38 AM
To: Log4J Users List
Subject: Help getting started with Chainsaw V2
Hi,
Must have missed something!
I have my log4j (actually nlog4j) set up quite nicely. I deployed
re
show receivers' menu item. From there you can create new
receivers, delete receivers, change existing receiver configurations,
start and stop receivers, etc.
Scott
-Original Message-
From: Rakesh Patel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 7:38 AM
To: Log4J Users List
Hi,
Must have missed something!
I have my log4j (actually nlog4j) set up quite nicely. I deployed
recently to our production boxes and thought it would be good to keep an
eye on it remotely. I had a little success with an Eclipse plugin called
Ganymede and a corresponding SocketAppender.
Anyway,
53 matches
Mail list logo