The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
2k 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
96 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 ...
2
votes
1answer
158 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 ...
0
votes
1answer
34 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
346 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
817 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
6k 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 ...
4
votes
2answers
5k 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 ...