log

What is the point of clog?

I've been wondering, what is the point of clog? As near as I can tell, clog is the same as cerr but with buffering so it is more efficient. Usually stderr is the same as stdout, so clog is the same as cout. This seems pretty lame to me, so I figure I must be misunderstanding it. If I have log messages going out to the same place I have e...

(Apache) Error log beautifier

Anyone knows of a good error log beautifier? (should be able to handle apache error logs). Should be open source / free, preferably with a web interface ...

where is the Oracle Event Log located?

A fairly simple question here. Where is the location of my oracle event log (on a default Linux installation)? Many thanks in advance. ...

How to eliminate 'unused output column' warnings in SSIS jobs?

I'm trying to get rid of some spurious warnings in my SSIS Progress log. I'm getting a bunch of warnings about unused columns in tasks that use raw SQL to do their work. I have a Data Flow responsible for archiving data in a staging table prior to loading new data. The Data Flow looks like this: +--------------------+ | OLEDB Source tas...

Ruby on Rails plugin for showing line numbers in log for SQL queries.

Does anybody know any plugin, that can show line numbers for SQL queries in Rails logs? Something like this: User Load (0.003154) SELECT * FROM `users` WHERE (`users`.`id` = 1) - (user.rb, line 24) Thanks! ...

Partially missing gridlines on log-scale charts in Excel 2007

I'm using Excel 2007 to create a log-scale chart of numbers (specifically the Zimbabwean dollar exchange rate) over time. I'm using an x-y scatterplot and noticing one odd quirk. The range of y values (numbers) spans a factor of about 10^30. On every chart I make using this data, half the gridlines are missing. Specifically, only the gr...

Is writing server log files to a database a good idea?

After reading an article about the subject from O'Reilly, I wanted to ask Stack Overflow for their thoughts on the matter. ...

logging for web application

I'm in the middle of building a pretty big site using asp.net (forms if it's of any interest), and I'm wondering if i need a logging framework such as log4net. I've used such frameworks before, but i don't see how i could put it to any use in this type of project. usually i think logging is needed for customer delivered application, wher...

How can I limit git log (or svn log) to revisions that regard one particular file?

I'd like to see a series of diffs for a file. I'd settle for simply the log listing restricted to only those entries that modified the file. ...

Can I see who checked out what when from my subversion server?

Does anyone know where a log of who connected to my subversion server and what they did with it is? I'm looking to find out what time and which files were checked out. I'm assuming that it has something like a webserver log somewhere and I just can't find it. EDIT: From the response below, I wasn't aware that there are different wa...

How can I make the Python logging output to be colored?

Some time ago I saw a Mono application with colored output, probably because of it's log system, because all the messages were standardized. Now, Python has the logging module, and it let you specify a lot of options or customize it entirely, so I'm imagining that something like that would be possible too with Python, however I could not...

Logging user actions

The customer wants us to "log" the "actions" that a user performs on our system: creation, deletion and update, mostly. I already have an aspect that logs the trace, but that works at a pretty low level logging every method call. So if a user clicked on the button "open medical file" the log would read: closePreviousFiles("patient zer...

Best way to read in a rolling log file in .NET?

Hi folks, i need to read in a rolling log file in .NET 3.5sp1. I'm wondering what's the best way to do this? The file can get really big. An idea i had was to Open File Read file to last read line (in the first case, it was 0) Read all remaining lines Close stream and remember the last line number read. Wait a bit. Rinse/repeat. i'm...

Maintaining audit log for entities split across multiple tables

We have an entity split across 5 different tables. Records in 3 of those tables are mandatory. Records in the other two tables are optional (based on sub-type of entity). One of the tables is designated the entity master. Records in the other four tables are keyed by the unique id from master. After update/delete trigger is present on ...

mod_rewrite generating errors in log

On my site I have mod_rewrite rules to make the URLs more search engine friendly, and it all works fine on the frontend, but I'm getting errors in the error log like this [Thu Jan 22 22:51:36 2009] [error] [client {IP ADDRESS HERE}] File does not exist: /{some rewritten directory} The rules I'm using are rather simple, along the lines...

User profile returned from SharePoint as Nothing for UserID

Has anybody ever seen this error in their Application event log. If so, have you found a way to fix this? THanks in advance for any help. 1) Exception Information Exception Type: System.Exception Message: User profile returned from SharePoint as Nothing for UserID 'S-1-5-21-59715478-2608859843-3034944815-2139'. Data: System.Collection...

How to make a log as small as possible in a SQL database?

This question might be kind of elementary, but here goes: I have a SQL Server database with a 4 GB log file. The DB is 16GB and is backed up nightly. Can I truncate the log regularly because the entire DB+Log is backed up each night? ...

MySQL "SET NAMES" near the top of the slow query log

On a recently launched site, I noticed that, well over the actual heavy queries on the site, the most costly request, out of several million queries, is actually SET NAMES, which clocks over 2.3 seconds on average, while various multi-join union queries are well below 2 seconds. In the end, this places it near the top of the slow query l...

what is the advantage of having a users' logs records in a website?

what is the advantage of having a users' logs records in my website or forum, why I should know who sign in? and when? I am asking this question because I built a website and my supervisor he asked me let the the system record all members logs! ...

Desktop flash log viewer for windows?

I was wondering if anyone knew of an application that would show the flash log live as it updates, I made a simple app in VB that is a web browser control that is mapped to the location of my flashlog.txt but I always have to hit F5 and for some reason recently it has stopped working... so, anyone know of one for windows that works well?...