The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
714 views

Parsing log4j log files with logstash

I am parsing multiline log4j logs with logstash and I've got the most curious problem. Here's an example of some related log entries: 2016-01-05 13:55:26,275 DEBUG [class] [thread] - bla 2016-01-...
0
votes
1answer
334 views

Is there log4net pattern format logs viewer?

Do you know a good free log viewer for existing log4net log files that were written using PatternLayout format? I've found: LegitLogViewer (probably it is possible to configure that one) YALV!(xml) ...
0
votes
0answers
629 views

Sending log4j logs to ELK using SocketAppender

ElasticSearch crashes when it tries to parse the logs received from Tomcat using SocketAppender. Example error is below: org.elasticsearch.index.mapper.MapperParsingException: failed to parse [...
2
votes
0answers
214 views

Generation of Tomcat Stdout and Stderr log files

Is there a way to catch tomcat stdout and tomcat stderr log files it to log4j or any other way so that i can keep track daily basis.These files are only generated when we restart tomcat.And i want ...
0
votes
1answer
301 views

Switching Log4j mode to DEBUG in Weblogic Server

I am using weblogic 10.5 and my application has 4 managed servers, having the below mentioned configuration in weblogic startup script to enable log4j. JAVA_PROPERTIES="${JAVA_PROPERTIES} -Dlog4j....
0
votes
1answer
5k views

Starting tomcat causes “java.io.FileNotFoundException: ../logs/dc.log (No such file or directory)” in catalina.out

I have been seeing this for literally years as part of tomcat apps, and now that I have gone through the steps to investigate it, I can't find the cause. Here's what I see whenever I start tomcat on ...
1
vote
0answers
155 views

Datastax Opscenter Agent installation is broken re: log4j

I am trying to install Opscenter, and datastax agent on our Cassandra cluster. When I start the datastax-agent, I am getting this error: log4j:WARN No appenders could be found for logger (org.eclipse....
2
votes
1answer
282 views

%HOSTNAME% value is “unknown” in rsyslog template

The Gist Where does rsyslog get the value of %HOSTNAME% and under what conditions would "unknown" be the expected value? We're using rsyslog on an EC2 instance and we're trying to send our logs ...
0
votes
1answer
48 views

Logging not getting disabled

Out Tomcat 8 is logging so much so that by the evening the catalina.out inflates to GBs of data. I followed the procedure given on the tomcat website to replace JULI logging with LOG4J. Now LOG4J has ...
1
vote
1answer
505 views

Custom Event IDs Using NTEventLogAppender

This is my first post on ServerFault, but I love StackOverflow. I'm a coder, and as such I'm more comfortable in an IDE than in the registry, so I've come here for help. Problem: I have a chain of ...
3
votes
4answers
1k views

Is there a way to throttle syslog

We use Log4J with its SyslogAppender to send messages to a central syslog-ng server, all running on Unix machines. Is there a way (whether that's in Java or in Unix) to throttle the number of ...
3
votes
2answers
9k views

JBoss: reload log4j config without restarting the server?

We are using JBoss application servers for our new web applications that use Apache log4j for logging. We are using JBoss for some months now and everything works out cool, the centralized config ...
0
votes
1answer
2k views

How to log all sql going through JBoss datasource with log4j

I've looked at log4jdbc (which does not support datasources), p6spy which seems to be what I am looking for but it has not been updated since 2003 which makes me nervous and lists only JBoss 3.x (we ...
5
votes
2answers
7k views

Why do JBoss and Logrotate create log files full of NUL characters?

I've set up Logrotate to rotate my JBoss Application Server 4.2.2.GA logs nightly. After the log files have been rotated and JBoss starts writing to them again, the new log files begin with as many ...