>> >>> could configure Log4j 2 to send log events directly to Graylog, and
> >> >>> Logstash became unnecessary.
> >> >>>
> >> >>> Can we do something similar with ELK (so that it become just "E-K")?
>
We use log4j2's SyslogAppender and a logstash UDP input source, works ok
for us, no need to add Flume to the mix.
/David
On 18 November 2015 at 22:35, Matt Sicker wrote:
> Any experience with this? I was thinking of using Flume and the Flume
> appender to route all my log
Hello,
How do I configure log4j2 to send StatusLogger output to a Syslog appender?
Our application runs on several instances and logs to a remote instance for
centralised logging, however status logging only appears in the logs on
each instance.
Thank you,
/David
Hello,
Is there a way to get the properties from a log4j2 configuration file
programatically?
Like:
?xml version=1.0 encoding=UTF-8?
Configuration status=DEBUG monitorInterval=10
Properties
Property name=kafkaHostlocalhost:9092/Property
/Properties
...
/Configuration
I tried:
. Looking at the code leads
me to believe it should but I will have to test it myself to see what is
going on. That could take a few days.
Ralph
On Jun 22, 2015, at 5:22 AM, David KOCH dk...@ezakus.com wrote:
Hello,
Is there any way to programatically determine if a logger is enabled
sorry, hit send too soon, continued:
However, the condition only ever evaluates to to false if the logger itself
is de-activated. log4j2 version is 2.1.
Thank you,
/David
On 23 June 2015 at 17:15, David KOCH dk...@ezakus.com wrote:
Hello,
Thank you for your replies. Don't get me wrong
Hello,
Is there any way to programatically determine if a logger is enabled for a
specific log level and marker? If so how? There is a Logger#isEnabled(Level
level, Marker marker) method but it seems it ignores the marker argument.
I would like to avoid carrying out relatively expensive
On 13 January 2015 at 16:32, Gary Gregory garydgreg...@gmail.com wrote:
Can you please try to see if you get the same result with 2.1?
Thank you,
Gary
On Thu, Oct 30, 2014 at 7:47 PM, David KOCH dk...@ezakus.com wrote:
Hello,
Log4j2 version is 2.0.2, my Syslog appender is configured like
it. However, detached markers introduce some
performance and thread safety issues so we would really need to understand
the benefit so we can weigh it against the cost.
Ralph
On Nov 10, 2014, at 9:32 AM, David KOCH dk...@ezakus.com wrote:
Hello,
I am unable to create detached versions
Hello,
Log4j2 version is 2.0.2, my Syslog appender is configured like so:
Syslog name=LogStash format=RFC5424 host=192.168.232.191
port=5000 protocol=UDP/
and I get the following exception:
2014-10-31 00:36:40,916 DEBUG Calling createAppender on class
Note: Re-send, I got a mail error the first time round. Excuse if
doubly-received.
Hi,
I want to dynamically route to different collections based on the
marker I send with a message in a logger.info(Marker marker, String
string) call. I have no problem doing the equivalent with the thread
Hi,
When I log I do: object_instance - JSON - string,
logger.log(my_json_string_from_object) in the application only to do the
de-serialisation in each of my custom appenders' append(LogEvent) methods,
followed by appender-specific processing on the de-serialised object.
I would like to know how
a Layout to format the object
however you want if the event contains your custom Message.
Sent from my iPad
On Jul 23, 2014, at 2:40 AM, David KOCH dk...@ezakus.com wrote:
Hi,
When I log I do: object_instance - JSON - string,
logger.log(my_json_string_from_object) in the application only
Hi Matt,
That was it. Works now, thanks.
/David
On Sun, Jul 20, 2014 at 10:45 PM, Matt Sicker boa...@gmail.com wrote:
You need to add log4j-nosql to your classpath. It was separated from
log4j-core due to its, uh, non-core-ness.
On 20 July 2014 15:25, David KOCH dk...@ezakus.com wrote
Hello,
I get this message:
Appenders contains an invalid element or attribute NoSql
at start-up since switching from 2.0-rc1 to 2.0 when attempting to log to
Mongo. My configuration has not changed.
What's the new configuration name of the appender?
Thanks,
/David
Actually, I just checked the source - the nosql.mongodb package is no
longer present in 2.0, it was in 2.0-rc1. Is this intended?
/David
On Sun, Jul 20, 2014 at 8:55 PM, Matt Sicker boa...@gmail.com wrote:
MongoDb is the name.
On 20 July 2014 13:44, David KOCH dk...@ezakus.com wrote
Hello,
Congratulations on the release to all the contributors!
/David
On Thu, Jul 17, 2014 at 7:26 AM, Ralph Goers ralph.go...@dslextreme.com
wrote:
The Apache Log4j 2 team is pleased to announce the Log4j 2.0 release!
Apache log4j is a well known framework for logging application
I am getting similiar errors: error: package
org.apache.logging.log4j.core.helpers does not exist when trying to
compile a custom appender that worked with 2.0-rc1.
Where was this stuff moved?
Thanks,
David
On Thu, Jul 17, 2014 at 6:46 PM, Ralph Goers ralph.go...@dslextreme.com
wrote:
Matt,
Hello,
Glassfish 3.1.2 does not seem to find (some) log4j2 classes when the log4j2
dependencies are not directly included in the wep application's pom.xml. In
my case, I have a separate artifact which contains a custom log appender
and all of the log4j2 stuff.
I already followed the advice in
, at 3:22, David KOCH dk...@ezakus.com wrote:
Hello,
I wrote a custom log4j2 appender for Kafka https://kafka.apache.org/
and
it seems to be working fine. The only issue I have is that that Kafka
itself uses log4j 1.x for internal logging so when I use my
Hello,
In log4j2, is there an equivalent of log4j 1.x'
LogLoghttps://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/helpers/LogLog.htmlfor
internal logging purposes?
Thanks,
/David
Sent from my iPhone
On 2013/11/25, at 19:57, David KOCH dk...@ezakus.com wrote:
Hello,
In log4j2, is there an equivalent of log4j 1.x'
LogLog
https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/helpers/LogLog.html
for
internal logging purposes?
Thanks,
/David
Hello,
I wrote a custom log4j2 appender for Kafka https://kafka.apache.org/ and
it seems to be working fine. The only issue I have is that that Kafka
itself uses log4j 1.x for internal logging so when I use my
--Dlog4j.configurationFile=my-log4j.xml Kafka generates warnings/errors
like:
is actually created - It could be a misconfiguration.
Best Regards,
Alex
-Ursprüngliche Nachricht-
Von: David KOCH [mailto:dk...@ezakus.com]
Gesendet: Donnerstag, 24. Oktober 2013 15:25
An: Log4J Users List
Betreff: Re: AW: How to get loggers configured in log4j2.xml
Ok, so maybe
24 matches
Mail list logo