logs

Should I use ELF or CLF for logs?

Obviously ELF was written as a more flexible alternative to CLF, but are there any cases where it is preferable to use CLF? For new projects should I just use ELF off the bat? In general I'm mostly logging HTTP request/responses. However these may include logging cookies, HTTP params, and other specific fields, etc. ...

BACKUP failed to complete the command BACKUP DATABASE

BACKUP failed to complete the command BACKUP DATABASE ... WITH DIFFERENTIAL. Check the backup application log for detailed messages. I see this message in SQL Server log file viewer. Where is the backup application log? ...

Publicly available Web proxy forward cache logs/data sets

I'm looking to do some analysis on HTTP requests that occur between clients and web servers. Are there any recent (at least within last 4 years) publicly available data sets of web proxy forward cache logs, such as those recorded by a Squid proxy? I'm most interested in forward cache HTTP log data - so coming from a cache that sits bet...

Read event log in C#

Hi, I'm trying to read event logs for my application EventLoggingApp. The problem is reading logs for my single source (EventLoggingApp). This code read logs for every source. What is the problem? Any advice? static void ReadEvenLog() { string eventLogName = "Application"; string sourceName = "EventLoggingApp"; string...

How to parse Gmail chat logs from webpage?

What would be the best way to parse Gmail chat logs from the webpage where it's displayed? As far as I know, this is still the only way to access server-hosted Gmail chat logs (through either desktop Gmail or mobile Gmail). When looking at the generated source where the conversation takes place, the markup looks like nested divs and sp...

rotatelogs in lampp

Hi, i'm using lampp and i'm trying to configure the rotation for the apache log files. I've readed about rotatelogs and i've added this in my httpd.conf: CustomLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/%Y/%m/%d_access_log 86400 +60" common problem is that i get this error: Could not open log file '/opt/lampp/logs/2010/07/03_acc...

HTML5-Compatible User-Agent Strings?

I'm interested in writing a log file analyzer that can determine the percentage of users who have HTML5-Canvas support based on the user agent strings in the logs. However, having scoured some of the literature out there on the subject, it's not obvious to me what I should be looking for in the user-agent string. One simple option would...

Method to convert Medisoft Error Logs

Can anyone recommend a good script/tool for formatting Medisoft Error Logs to readable text? I am currently on v12 scheduled to go to v16 very shortly. Thank you ...

how to group records into bucket based on the timestamp?

i have a list of entries from the logs: 15:38:52.363 1031 15:41:06.347 1259 15:41:06.597 1171 15:48:44.115 1588 15:48:44.125 1366 15:48:44.125 1132 15:53:14.525 1348 15:53:15.121 1553 15:53:15.181 1286 15:53:15.187 1293 the first one is the timestamp, the second one is the value. now i'm trying to group them up by an interval of, sa...

log4net doesn't create a log file for a referenced project file.

I am building an application that calls upon a compiled executable. Said executable's source code project file is referenced by the solution file for the parent application. The child executable is a stand alone command line application. The parent is a effectively a GUI wrapper to the console application. When I compile the console appl...

Fields and codes in Apache FTP log

Hi folks, Where can I find information about the fields and codes in Apache's FTP logs? I am curious about what the "189" here means and the "a _ o r" also. Sun Jul 04 14:29:37 2010 0 xx.xxx.xx.xxx 189 /foo/bar/baz.php a _ o r [email protected] ftp 1 * c My google-foo failed me in locating this info. Where can I read up on these codes?...

Rails Environment specific logs

So I just deployed my first rails app (using passenger) and I have set - RailsEnv test I was looking at the test.log and its empty. So I have a few questions on rails logs - I don't see development like logs in test.log - things like details of request & SQL etc Okay may be test != development, that why?? Also, I tried this in my c...

MySQL: Query from Unknown Number of Tables

Here's what I'm trying to do. I'm using ejabberd with mod_logdb. All conversations are logged to a table in the database tagged with the date. ex: logdb_messages_2010-7-17_server_node What I'm trying to do is write a search that will look in all these tables without hitting the DB too much. I'd like to create a view that takes all the...

Is there a way to print all the information in a certain amount of commits in TortoiseSVN/subversion?

I want to be able to print out all of the changes to the code since a certain date. Without manually copy and pasting the information from all the commit logs, is there an easier way to get all this information into a central location? ...

Cannot find or activate logging in Wordpress

Hi, I am struggling to activate wordpress logs. No way in hell I was able to do that. I tried all recommendations. No success. I have done: define('WP_DEBUG', true); @ini_set('log_errors','On'); @ini_set('display_errors','On'); @ini_set('error_log',TEMPLATEPATH.'/error.log'); I am using wordpress on windows using IIS server on my d...

Linux File Logs

I need to view a log of files that have been opened, surely there are logs stored for this, but I have not been able to find them in the /var/log/ directory. Thanks, Dave ...

Rails logging error: "Error during failsafe response: Shifting failed." ... is there an elegant solution to this?

I've configured my Rails 2.3.8 logger in the environment.rb to rotate daily: config.logger = Logger.new("#{RAILS_ROOT}/logs/#{RAILS_ENV}.log", 'daily') and every day in the morning I get the usual: Error during failsafe response: Shifting failed. Is there a decent/elegant/better solution to this? What I've done in the past is just...

Apache Log analys tools with good reporting of Phone Platform etc.

I'm looking for an alternative to Google Analytics as I have a need to see IP address data. I'd prefer be using an open source package hosted on my own linux servers. Historically, I have used Analog for this purpose, but I'd love to hear what others are doing. The main requirements are: (a) access broken down by site and hours (b) ...

Browser user agent resource

I have a client who says he is using ie7 from two different sites however our iis logs are showing two different user agents one beginning Mozilla/5.0+ the other Mozilla/4.0+ This change occurred on Tuesday. Does anyone know of a good resource for browsers and the various user agents they pump out? Does anyone know the differen...

Logs for different process

I have a situation where I need to collect logs for the process that happens. So If process1 happens, log1 should start, same with process2 and log2. Both run at the same time. So ideally, i should get log1 and log2 updaating along with the progress at the same time. My problem is, If i run process1, log1 starts, but when i start, proce...