Most voted "log" questions
It is the recording of computer data or the process of recording events of a computer program, usually with a certain range, so as to provide a control trace, which can be used to understand the activity of the system and to diagnose problems.
Learn more…110 questions
Sort by count of
- 
		17 votes2 answers9060 viewsBest practice for logging the systemWhat is the best practice for registering a log system? public void inserirLog(string Acao) { StringBuilder csql = new StringBuilder(); csql.Append("insert into Log (Acao,data) values(");… 
- 
		13 votes3 answers514 viewsJava / Android: how to view Stacktrace logHow can I display the whole exception error code (Fullstacktrace) in Android Log? try { //CODE }catch (Exception e){ Log.e(TAG,e.getStackTrace()); }… 
- 
		10 votes4 answers2357 viewsGood practices for storing logsWhat information should be stored? It’s good practice to use TRIGGER in the database for storing logs or via code is something safer and easy to maintain?… 
- 
		7 votes4 answers17451 viewsHow to check Postgresql logs?I have a legacy database that when doing certain action in the system that has access to it, several tables are modified, I was able to identify at least 04 tables being changed. My question is… 
- 
		6 votes1 answer1447 viewsDifferences between Log4j and SLF4JWhat are the vantagens and desvantagens of each one? They can be usados simultaneamente in the same project? 
- 
		6 votes2 answers2960 viewsError log in Java applicationWe developers when we code, we have a way to track the process of running software through the output of the IDE, but when the software goes into production and we no longer have the development… 
- 
		5 votes1 answer717 viewsCapture errors and PHP ExceptionsSetting I know I can configure the logs so that the errors and exceptions are recorded, this is nice, but sometimes it is too boring to read these files. Question How to capture the mistakes and… 
- 
		5 votes1 answer761 viewsHow to implement an update LOG with ASP.NET MVC?I would like ideas on how to implement a generic update LOG in DB (Entity Framework 6+) that allows me to discover information such as: System X user at date Y changed name and date of birth (from,… 
- 
		5 votes3 answers1117 viewsRead Remote Server log.txt on Real-Time Local ServerThose days passed the idea (I must have read somewhere and refreshed) of having a program on the local server that is synchronized with the remote server, where in this program I can see in real… 
- 
		5 votes2 answers1016 viewsHow to create Production Application Error Report (Client)I am looking for a way (efficient and practical) to capture globally all Exceptions not dealt with by the application (the ones that lead the application to crash or "Application stopped working!").… 
- 
		5 votes1 answer433 viewsHow to detect Mysql changes in Nodejs?Good night, someone has already used this package or knows a similar one that works? Link: https://www.npmjs.com/package/mysql-events Goal: launch an event when there is a change in the database.… 
- 
		5 votes1 answer150 viewsLog with historical debug (Intellitrace)I have a WPF application and am looking for the best way to solve untreated exceptions. Today, when an unexpected exception occurs, deal at the event Application.DispatcherUnhandledException. There,… 
- 
		4 votes2 answers5206 viewsFile supposedly being used cannot be deletedI have a software that records error logs of itself inside a "logs" folder. Each log file is created with the current day date, so it is unique to the current day. Example: 30-04-2014.log. I use… 
- 
		4 votes1 answer359 views
- 
		4 votes1 answer747 viewsHow to implement a process queue in Delphi 6?How to implement a process queue in Delphi 6 as the TThread.Queue of the newer versions? What I need is to implement a queue for recording logs with Delphi 6. In the newer versions I have the… 
- 
		4 votes2 answers1316 viewsHow to Inhibit Display of Information on the Eclipse Console using HibernateI would like some help. I am developing a system using jpa-Ibernate, jsf and primefaces. Whenever I run the application the following appears on the console: 0 [http-8080-2] INFO… 
- 
		4 votes2 answers848 viewsDesktop application audit logThinking about a Java application desktop that is running in a company, we may come across situations that the user may cause failures in your application, in this case could create a log error and… 
- 
		4 votes1 answer107 viewsWhy do errors in PHP scripts run via the command line not appear in the apache error log?It is important to note that errors that occur in running PHP script via browser are recorded without any problem in the file: /var/log/apache2/error.log. The problem only happens when scripts are… 
- 
		4 votes1 answer160 viewsHow to improve log file visualization?I am trying to analyze some logs files generated on Linux and have noticed that it is very boring to understand where a line is starting/ending. I wonder if there is some kind of command or tools… 
- 
		4 votes1 answer688 viewsError in Plot.window(...) : need Finite 'ylim' valuesI have a continuous variable whose n=15000 comments and 451 Als. When rotating the qqnorm For the evaluation of normality, I verified that it does not present normality and therefore I applied a… 
- 
		4 votes1 answer59 viewsIs there a technique for reporting Javascript errors?The following is as follows: I use the Laravel Framework and, in it, configure the application so that when any server error occurs, it sends me an email, writes in a log file and/or sends me a… 
- 
		4 votes0 answers118 viewsHow can log messages be sent in a COBOL application?Considering the Mainstream environments with COBOL Enterprise for z/OS and a generic Linux environment with Wildebeest, both should trigger error messages, exceptions and system logs. Considering… 
- 
		3 votes2 answers1331 viewsWhen to record logs in database?I participate in a team that is developing an application using Zend framework 2 and Mysql database. We need to develop a logging feature of the actions performed by users in order to enable audits… 
- 
		3 votes2 answers7769 viewsLog table using MysqlHow to create a table of log Mysql audit that stores when and what was changed in each record? Mysql provides something that can facilitate this kind of thing? 
- 
		3 votes1 answer80 viewsLog storage/indexing toolsI need to create a system to store logs of various user actions (this system will create millions of weekly data). So what tools are available for this kind of need? PS.: It is extremely necessary… logasked 8 years, 1 month ago KaduAmaral 11,472
- 
		3 votes3 answers1061 viewsKnowing when your computer was Turned On / Off / StoppedI wanted to know when the computer was switched on, off or interrupted. If I turned on my computer from today’s date, then I want to know the time and date it was turned on. On shutdown the same… 
- 
		2 votes1 answer165 viewsError log by INI and in scriptI have my error handling using the functions set_error_handler, set_exception_handler, register_shutdown_function, where I debug and write the error message with detailed information and on PHP.INI… 
- 
		2 votes2 answers602 viewsDoes Eclipse Logcat for Android display Log messages?public void ImprimeLog(){ Log.i("Funcionando",""); Log.e("Funcionando",""); Log.v("Funcionando",""); Log.w("Funcionando",""); Log.d("Funcionando",""); } In Android Studio works, but Eclipse is not… 
- 
		2 votes1 answer128 viewsHow do I restore a database from postgres logs?I have the database logs I get through the commands pg_start_backupand pg_stop_backup. I wonder how do I restore the bank through them? Thank you! 
- 
		2 votes2 answers88 viewsLog into separate files with SLF4J in AWSSomeone has already implemented log using SLF4J to enable the application to separate files by tenant in Amazon environment? I made this implementation in my application, on Tomcat running local the… 
- 
		2 votes1 answer482 viewsconfigure SLF4J with log4jI have a somewhat confused problem but I will try to explain, I am working on a project that is using some external libraries, and I would like to implement a log, I have seen that in the external… 
- 
		2 votes1 answer1357 viewsHow to use the ob_flush() function to return data to the browser in an animated way?I need help, I have an email sending system, I need to know what’s going on in the process back-end a log that returns to the browser, when triggering script, example I want to send email to 2… 
- 
		2 votes1 answer87 viewsHow to create bookmark in logback?I am trying to create a bookmark inside my logback appender and could not. My code is <appender name="ErrorFile" class="ch.qos.logback.core.rolling.RollingFileAppender"> <!-- Support… 
- 
		2 votes2 answers115 viewsWhat is the linux text editor command that I can see output in real time?What is the linux text editor command that I can see output in real time? For example I want to give a "vim" in the access log of my apache I want to see GET entering the log in real time which… 
- 
		2 votes1 answer115 viewsELK + REDIS - Duplicating dataFala galera, I need a help... I have the following Logstash configuration files: agent conf. input { log4j { type => "bdj" port => 25827 } } filter{ json{ source => "message" } } output {… 
- 
		2 votes2 answers174 viewsHow to write the date and time of an error in the Django log?I started a project on Django 1.4, and every mistake I picked up via try..except I printed on sys.stderr - making it fall into the same Apache log file (error.log). It worked, but only for the… 
- 
		2 votes1 answer515 viewsMaintenance routine for cleaning log tables (sysssislog and sysdtslog90)I have a SQL SERVER 2014 standard database and during the monitoring of the database, I realized that I have some SQL tables that are a little large and went to search about. The tables are… 
- 
		2 votes0 answers356 viewsEclipse does not enter - generates boot error logAfter updating and installing some components in Eclipse neon, it does not enter and generates the log below: !SESSION 2016-08-21 18:42:45.858 -----------------------------------------------… 
- 
		2 votes0 answers450 viewsStandard for the use of logsI have a project organized as follows: 1. Web (ASP.NET MVC) 2. Application 3. Domain 4. Infra.Data 5. Infra.Log (NLog) 6. Infra.IoC The project references are as follows: - Web --> Application -… 
- 
		2 votes2 answers359 viewsCapture visitor IP on a Wordpress site in.txt fileI am trying to register the IP, Referrer and date of connection of all visitors to my Wordpress site in a.txt file, but I am not being successful. I tried with the Plugin 'Webrtc IP Grabber &… 
- 
		2 votes1 answer7956 viewsHow to work with Log in Java?I need to make a condition based on the Log of my Java project. Ex: Enquanto(TextoDoLog == "PalavraTal"){ faça algo; } But I don’t know if I have to create some class, or method, how to handle it.… 
- 
		2 votes1 answer50 viewsView Log with TYPE commandI am using the type command to display a point log in the company, but it shows the contents of the entire log, only the last lines. type C:\PASTA\LOG-TESTE.log @echo off pause The | MORE parameter… 
- 
		2 votes1 answer266 viewsWinston Node creates log file but does not save: Attempt to write logs with no TransportsI have a problem in Winston, follow my settings: const logger = winston.createLogger({ level: 'info', format: winston.format.json(), transport: [ new winston.transports.File({ filename:… 
- 
		2 votes1 answer152 viewsRor - Get controller Strong files inside the Application ControllerI am developing a logging process on my system (Rails 5), more specifically within the application controller. This process is being created there so I can add one before_save us controllers that I… 
- 
		2 votes1 answer31 viewsIs storing my application logs on disk a bad idea?We all know the importance of logs to the debug an application in a production environment. Currently, I maintain the logs in an archive (/tmp/logs/app-logs.log). The problem is that it can get… logasked 6 years, 2 months ago Luiz Felipe 32,886
- 
		2 votes1 answer684 viewsWhat is the best way to record a user log?I have a small monitoring system that aims to show if the data of some servers are equal to backups. As the system interacts directly with the database, the need arose to know who accessed and when… 
- 
		2 votes0 answers36 viewsUsing Nlog with Postgresql C#I am working on an application, and have some log screens, and I want to add a log routine in the API of these records, type: do not add, update and error occurrences (if any). The database that is… 
- 
		2 votes0 answers29 viewsProblem while deleting a fileI made a small log manager. It’s for something simple, so how is it fit. every day I want to delete and generate a new one, but my code is showing the following error: The file is already being used… 
- 
		1 votes1 answer423 viewsJboss log readingThis code takes my file from log Jboss and displays the first 1000 lines. I wonder how I display the last 1000 lines? private String log; public void pesquisar() { String diretorioCorrente =… 
- 
		1 votes2 answers459 viewsCreating Logs pageI created a table in my database usr_logs with the following columns: id email ip team date sucess These records alone are sufficient, or I need to add something else? How do I display all the data…