I am wondering about what the difference between logging and tracing is.
Is the difference basically that tracing is more detailed log giving developers a tool to debug applications at runtime?
I have been experimenting with log4net and doing logging. Now I am wondering if I should be doing tracing as well and if I could/should use log...
What are the access.log.* files?
...
I'm running some java processes on Windows 2003 server R2
I'm using Apache log4j-1.2.8. All my processes called via
one jar file with different parameter example
java -jar process.jar one
java -jar process.jar two
java -jar process.jar three
And I config log4j.properties follow
#===============================
# Decla...
I decided to use log4net as a logger for a new webservice project. Everything is working fine, but I get a lot of messages like the one below, for every log4net tag I am using in my web.config:
Could not find schema information for
the element 'log4net'...
Below are the relevant parts of my web.config:
<configSections>
<se...
Do any apps/packages exist that will support writing to OS X's log database from external sources. I'm not too familiar with the specifics of the database, beyond the fact that you can view its contents from the Console app. I'm not even sure if it's just a version of some simple DB like SQLite or if it is some sort of proprietary/intern...
What are you favorite LogParser 2.2 Scripts to run against IIS logs and Event logs?
I am putting a list of scripts together to run against our production environment to proactively look for issues and to help when isolating performance problems.
Do you have a certain list of LogParser 2.2 scripts that you use?
...
We are using log4j behind a selfmade wrapper. We plan to use much more features of it now.
Should we update to logback ?
(I mean the framework not a facade like SLF4J)
...
Should new projects use logback instead of log4j as a logging framework ?
Or with other words :'Is logback better than log4j (leaving the SLF4J-'feature' of logback beside)?'
...
I'm a big fan of log4net, but recently, some (in my department) have questioned its inclusion in our projects because of the seemingly heaviness of each logging method. I would argue that there are better techniques than others, but that's another question.
I'm curious to know, what is the typical impact of a log4net DebugFormat-type ca...
Logging can get complicated, quickly. Considering that you have some code, how do you add logging to it? What library(ies) do you use?
What are some good code techniques for getting the most out of your logging statements while having minimal impact on your application?
...
I am receiving an error from the Oracle JDBC driver (ojdbc14_g.jar) when trying to obtain a connection to a 10g database. The driver has an oracle.jdbc.driver.OracleLog class which could help but the Oracle documentation is unclear how best to use it. Has anyone had any success using this class? If so, some guidance on its use would be a...
Hello,
On a server I have to take care of, errors from a vhost do not go to the standard PHP error log.
In the php.ini we have
log = /var/log/file
and phpinfo() does not show any difference between the vhost and the whole server.
But the callback function set up by set_error_handler() catches errors which are not in the php log.
...
It's difficult to find any. Please, no answers like scp + perl + duct tape. I need a complete solution.
...
In java world you have log4j and a a pretty decent logging framework, is there anything like that for C#/.NET?
...
I've been looking for quite some time for an application that fills the same role as Logparser, an awesome piece of technology, but for Unix. Does anyone know of something this? (I've looked at Splunk but its an overkill, a simple command line is all I really need)
Note: Being able to make SQL queries on random logs, is great and much m...
The log levels WARN, ERROR and FATAL are pretty clear. But when is something DEBUG, and when INFO?
I've seen some projects that are annoyingly verbose on the INFO level, but I've also seen code that favors the DEBUG level too much. In both cases, useful information is hidden in the noise.
What are the criteria for determining log leve...
I'm looking for a log viewer with similar capablilties as Chainsaw, in which I can tail Glassfish log files over for instance SSH/SCP. Does anyone know if such a tool exist?
...
Hi,
Is enterprise library for exception handling and logging efficient in terms of its memory usage for the functionality provided?
What are the pros and cons?
Thanks
...
Trying to debug an issue with a server and my only log file is a 20GB log file (with no timestamps even! Why do people use System.out.println() as logging? In production?!)
Using grep, I've found an area of the file that I'd like to take a look at, line 347340107.
Other than doing something like
head -<$LINENUM + 10> filename | tail -...
Using something like this:
try:
#Something...
except BaseException, excep:
logger = logging.getLogger("componet")
logger.warning("something raised an exception: " + excep)
logger.info("something raised an exception: " + excep)
I would rather not have it on the error-level cause in my special case it is not an error. At ...