logging

PHPBB forum login from my site(Linking Forum Login to User Login)

Is anyone know How can I login to my PHPBB forum from my site. I need to PHPBB forum login from my site without login to forum. I heard about PHPBB_Login class but i dont know how to config it.need quick reply. Thanks. ...

PHP: How to read a file live that is constantly being written to

I want to read a log file that is constantly being written to. It resides on the same server as the application. The catch is the file gets written to every few seconds, and I basically want to tail the file on the application in real-time. Is this possible? ...

How to Customize the time format for Python logging?

I am new to Python's logging package and plan to use it for my project. I would like to customize the time format to my taste. Here is a short code I copied from a tutorial: import logging # create logger logger = logging.getLogger("logging_tryout2") logger.setLevel(logging.DEBUG) # create console handler and set level to debug ch = l...

EF errors logging in log4net

I am trying to capture Entity Framework errors in log4net. Has anyone successfully done that? Any suggestions? ...

Why is commons-logging believed to be unpopular?

Dave Syer (SpringSource) writes in his blog: Unfortunately, the worst thing about commons-logging, and what has made it unpopular with new tools, is also the runtime discovery algorithm. Why? What is the issue with its runtime discovery algorithm? Performance? ...

How to disable JUL in 3rd party jar?

In 3rd party jar logger exist this code. 'Logger.getLogger("net.java.ao").log(Level.INFO, sql.toString());' How can I disable this logger from my program? ...

Capturing, logging and running analytics on Javascript events

What are good libraries/platforms out there for capturing, logging and running analytics on Javascript events? Preferably open-source... ...

Redirect System.out.println

In my application there are many System.out.println statements, how can I catch messages from println and send them to standard logger (Log4j, JUL ect) thanks! ...

Any way to track "load abandonment"?

Question: Is there any way to track how many website visitors are leaving your site because it takes too long to load? Running IIS (not sure the version), ASP.NET 1.1, Proprietary Compiled & Obfuscated CMS. Background: I'm currently working for a conglomerate of 20 companies, and about 8 of their websites are running a proprietary CMS ...

Logging xml data in an xml log file...

I am needing to log some xml data (which is currently a JDOM Document), and I am trying to output it to a standard Java log. However, this will only produce logs with the < and > ends of the tags re-encoded as &lt;? ?&gt; etc. Although this can be parsed for the right information, it makes the log file effectively unreadable. Can an...

Suggestions for hosted log server?

I'm looking for recommendations for a hosted service to collect logging information from client applications. The service would preferably be a high-availability service using a cloud infrastructure or something equivalent. I'd like to be able to direct some logging information from my .NET client application (using a logging framework ...

how to log image info selected by the user to the log file in iPhone

I am developing an iPhone application and i need to log the information about the images selected by the user to an external log file. How can this be achieved in iPhone? I use Objective c for developing the application. I am not able to find out , which image the user has selected and get that information and write to the log file. ...

using tar to compress log directory, what happens when apache tries to write during compression?

Hi! I want to run a cron and compress my /var/log directory every hour to a tar file.. so I can backup that file. What would happen to the log files the exact moment I run the tar command, will I miss those log lines or would the different softwares running and using /var/log wait, or will the tar be corrupt etc? I have a busy webserv...

Is there a way to change the text formatter at runtime using the entlib logging application block?

I have an application that logs to a rolling text file using the MS enterprise library 4.1 logging application block. Is it possible to have multiple text formatters and switch between them during runtime? ...

C# Singleton Logging Class

I am trying to figure out the best strategy for logging on the async-IO web server I am working on. I thought the easiest way was to have a singleton class that keeps Filestreams open for the appropriate log files so I could just do something like: Util.Logger.GetInstance().LogAccess(str); Or something like that. My class looks like ...

Nlog logging to database in n-tier environment

We are currently using nLog for logging (which was an arbitrary choice made some months ago so it can be changed if necessary). nLog can log to a database but requires a ConnectionString. This is an issue for us as we are in an n-tier environment and we have no database access at the Presentation tier (everything goes back to WCF hoste...

Console.log messages not showing up in Chrome's javascript console?

I am logging using the jQuery.log plugin (which logs to console.log if available) and I am not seeing any of the logging messages appear in the Chrome JavaScript console. Logging works on Firebug's console under Firefox, but I did have to explicitly enable the Firebug JavaScript console. Have a missed some option somewhere under Chrome...

Is there an industry standard for error messages?

Is there an industry standard for error messages? I'm hoping that it would be from a technology standard organization like w3c or an industry organization like ARTS (association of retail technology standards). ...

Logging to a text box with auto-follow cursor

I'm using a WinForms TextBox control for logging. It's been set as multiline with scrollbars. I'm inserting text by using: textBox.Text += logMessage; The scrollbar does not automatically follow with the latest log entry. Is there a way to do this? ...

Log to file accelerometer data

I would like add a this Apple example [AccelerometerGraph] the ability to store the data in a file until the app isn't closed. Without locking issues and other crappy problems of real time data collection. Any idea, sample or something that a semi newbie can play with? ...