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
-
1
votes0
answers67
viewsMonitoring the events of the JRE
Can you monitor some jre events like start, close etc? Are there libraries for that? I need to create a log to store the time the jre is triggered, closed and know who accessed, all this should be…
-
1
votes2
answers191
viewsError Log Generation Aspects by XML
I have an application developed in C# that uses an SQL Server database, this application is made available through a virtualized application server, I do not have direct access to the database nor…
-
1
votes0
answers84
viewsException interception for logging, using AOP with CDI in Java EE 7
Below I have part of a class, of which I want to eliminate repetitive logging code through AOP. /** * Javadoc omitido */ public abstract class JpaDao<T extends LongIdentifiable> implements…
-
1
votes1
answer79
viewsHttp request - log
I am developing a Curl process, and for this I am checking the pages necessary to manage the urls. However there is a page that performs Http Request 302 (redirect), and I’m unable to capture it as…
-
1
votes1
answer830
viewsLog errors with Selenium Webdrive in C#
Good night! I’m organizing my test suite and looking for the best ways to create a bug report when a test fails. I’ve already implemented a log in. txt with the test name that runs (using…
-
1
votes1
answer132
viewsHow to preserve Mozilla Firefox Browser Console Log?
In the Google Chrome browser, in the tab consola, there is an option for preservar log while we are testing things or developing our website so that we don’t have to rewrite the whole code again if…
-
1
votes1
answer82
viewsToo Many open files AWS
I am running my application on Amazon, I have deployed a version that separates log files by tenant and date, this has caused my environment to not accept more requests at some point, bursting an…
-
1
votes1
answer89
viewsIs there any way to know if someone is referencing some file from my site in another?
i have a photo on my website logo.jpg If some smart guy uses my image that took me hours to make and use on your site in a tag there is the possibility of knowing where the source request to the…
-
1
votes2
answers2406
viewsGeneration of Logs with Nlog?
I’m using the Nlog, and for each client logged into the system I would like to create a log generation behavior as follows: [nome-cliente-1]-[dataAtual].txt [nome-cliente-2]-[dataAtual].txt Ex:…
-
1
votes1
answer472
viewsError using monolog: PHP Fatal error: Class 'Monolog Logger' not found
I tried using monolog in my application, however, after the installation done according to the documentation, i try to import and use, but there is an error message stating that it could not be…
-
1
votes1
answer1477
viewsGenerate PHP system logs
I need to generate a text document of type .txt containing information on changes made to a system web. This information is about user activities such as registration, registration changes,…
-
1
votes1
answer259
viewsConvert . log file to . txt in Bash
Hello, I wonder how I can convert a. log file generated in a container in Docker and convert it to a txt file using Bash.
-
1
votes1
answer147
viewsShow only lines that appear more than x times. (shell script)
I am analyzing a log file and I wanted to filter only lines that appear more than 10 times inside the file. Only I’m not finding a way to make this filter.…
-
1
votes1
answer40
viewsAdd "filter" to "logger" for the entire application
I would like to make the Filter of java.util.logging.Logger filter all generated log lines. In this case, I am using a Wildfly application server. Currently, I can filter only one specific class,…
-
1
votes1
answer57
viewsValue passed in Pattern tag keys for class name
I am studying about Logback to implement in my company’s system, and at tag pattern I have the following: [%d{yyyy-MM-dd HH:mm:ss.SSS}] %level [%thread] %class{0} %method %line - %message%n I…
-
1
votes1
answer73
viewsMany logs with the message "setTypeface with style : 0"
I’m making a app in the android studio, and after spending a few activities the screen becomes black and the last record of the log cat is this message. I’ve looked at the other questions about it…
-
1
votes2
answers220
viewsWhat is the best way to treat Exceptions and Log in Webapi (C#)?
Setting: Webapis in . NET 4.x Goal: Improve Logging (info, error, debug, Warning) and Exception Handling, for example, log in exceptions, which Log frameworks do you use? Where do you store Logs? I…
-
1
votes1
answer68
viewsKeep stack trace when the method gives rethrow in the captured Exception
I ran the Visual Studio Code Analysis application and in several methods received the following message: CA2200 Rethrow to preserve stack Details 'fooBLO.Foomethod(Dadosprojectdto, string)' rethrows…
-
1
votes0
answers16
viewsHow to export sqlite and python exceptions log using Import Error
I am using Python and giving import of sqlite3 library and sqlite3 giving import in Error for exception handling! import sqlite3 from sqlite3 import Error def errorlog(erro): errlog =…
-
1
votes1
answer401
viewsLog in Separate Files [Log4net]
I use Log4net in my application. I need to create a configuration that "deposit" everything from level="INFO" in a file and everything that is light="ERROR" in another file. But even following the…
-
1
votes1
answer1131
viewsUse Ilogger with . Net Core 2
I am studying . Net Core 2 and I have a question. I am wanting to log error in my Repository layer and only saw example in Controller. Some specific reason for this? Follows my codes:…
-
1
votes0
answers64
viewsHow do I perform/work the call through the AJAX url?
To put it in context: There is a remote directory, clearing-dit\logs, which has a number of logs (portal.log, test.log, ...). This directory, is mapped to an HTML page, where all of its .log's are…
-
1
votes1
answer100
viewsFile Additions and Deletions in a commit
I’m using the remote git log --stat <commit> to get additions and deletions made to a commit. Ex: commit 1a1a Author: Gabriel Hardoim Date: 2018-08-20 20:30:40 arquivo.java | 3 +++ arquivo.css…
-
1
votes0
answers79
viewsFirebase Crashlytics: How to debug non-fatal errors?
Hello! Good afternoon, sir. I have an application for Android (developed in Android Studio) that uses lib Mpandroid Chart (a lib for Charts). Like any chart that we want to compile, we first need to…
-
1
votes1
answer309
viewsError when using the @Slf4j annotation "log" using the Spring Boot tutorial
I am studying creating REST Apis with Spring Boot following the following tutorial: Building REST services with Spring. However when implementing to the class Loaddatabase from the tutorial I’m…
-
0
votes1
answer155
views -
0
votes0
answers54
viewsConfigure multiple logs in Apache
I am working on an internal network where they are running 3 applications on the Apache server. I would like to be able to analyze the log generated by Apache separately for each application but…
-
0
votes0
answers174
viewsPutting header into CSV file
I have on a client’s page a log generation routine. However, I always need to add a header field on the first line. Here is the function code: public function generateLogPMWeb($action){…
-
0
votes1
answer58
viewsDoubt with textbox
I’m trying to create a screen of log using a textbox in C#. At certain points in the programme, I would like to insert a line in this textbox. Take the example of: Linha 1> Realizando inserção..…
-
0
votes1
answer102
viewsHow to display errors in the production environment?
I’m coming from the groove of this question here. Is there any way, in the production environment, when any error occurs I warn, that the error occurred and I should look at the log file? I wanted…
-
0
votes0
answers348
viewsLog in Vbscript
I need to create a log to see who used my script, and this log has to go to a txt. Below is the procedure, as I create this log that contains the user and the date On Error Resume Next Dim…
-
0
votes1
answer54
viewsWhere is the SAP Hybris log folder?
After executing the command: ant clean all on the console, I’d like to read the full log of errors generated by the hybris build. Can anyone tell me which folder he keeps this log file in?…
-
0
votes2
answers461
viewsHow to customize Tomcat log in spring boot ?
I’m having a little problem with my application, the log of my Tomcat is generating a medium large amount of data, and this is slowing down the application of the company, I wonder if there is any…
-
0
votes1
answer4092
viewsWhen should I use each log level in Android Studio?
There are different levels of log in Android Studio, which maybe, I say maybe, is not much different in other IDE’s. Basically it’s the different ways I can record a message on logcat. The guys are…
-
0
votes1
answer293
viewsApache server stopped recording accesses to the access file.
I am running a Ddos attack experiment on a virtual apache server (Vmware). The attack was on the apache service and not the machine. From a certain time (10:20 a.m.), although there were machines…
-
0
votes1
answer48
viewsChanges to the error log
By default when there is an error in my PHP, my server creates a log file, with the following information: [19-Apr-2017 16:20:12 America/Fortaleza] PHP Notice: Trying to get Property of non-object…
-
0
votes0
answers28
viewsHow to escape a recursive process of saving error log from a database - PHP?
I have a class that saves the log in a database based on any transaction error on that basis. The fact is that the process of saving this log tbm is a transaction and in a hypothetical scenario any…
-
0
votes0
answers379
viewsHow to check application errors with android stúdio 3.0
I hope to count on the understanding of all because I am only hobbysta, I started learning android with the version 2.3.3 of android studio and checked the errors and Logs through the tool Monitor,…
-
0
votes1
answer81
viewsHow can I make a log box always show the last line?
hi, I have a log file of other codes that keeps updating so I made a javascript code that shows this file and is a code that keeps updating the live text on the page inside a textarea but it keeps…
-
0
votes1
answer25
viewsCan you ignore a page in the apache log?
I’m developing a page which will permanently consult via Ajax, it turns out that the Apache access log will fill up very quickly and this brings me a problem of server space, I wondered how to treat…
-
0
votes1
answer44
viewsWhere is the error log file in symfony?
I am running a project, in localhost same, done with Symfony to fix an error and for that I would like to see the file with the error in the log but I do not know where it is. Can anyone tell me?…
-
0
votes2
answers63
viewsHelp with PHP in data capture.
Hello, I have a certain log file, and would like to capture certain data from it and store in []. see the log file: +++ Statistics Dump +++ (1499195839) ++ Incoming Requests ++ 552 QUERY ++ Incoming…
-
0
votes1
answer126
viewsDelete line in html file
I have a file that shows the time and name that a user logged in to the site, this file is password protected, is there any way to put a [Delete] button to delete certain line ? I use the following…
-
0
votes1
answer301
viewsHow to save information like pprint to a txt file
I am creating a function to generate a log file: def setLog(msg): file = open(nome_arquivo, adicionar_informacao) if type(msg) == str: msg_log = msg.encode('utf-8'); else: try: msg_log =…
-
0
votes1
answer371
viewsBest way to create click report (PHP Mysql)
I’m putting together a real estate market system where developers can see the land available for construction. Then I want to record the clicks that each developer gives in any terrain and then I…
-
0
votes1
answer31
viewsHow to get the log record of the `Cakelog::write()`method?
I’m studying about the logs of cakephp and in my code I added the following line for all actions of INSERT, UPDATE and DELETE of my system of crud. Cakelog::write('debug', 'mensagem de exemplo de…
-
0
votes1
answer99
viewsEntity database modeling for history
In the system I am developing there are several parts that will need data history. As I did so far it was, for when you need a history for a table I created another table with the same fields and…
-
0
votes1
answer243
viewsWhy does style return null?
Uncaught TypeError: Cannot read property 'style' of null at window.onload (main.js:7) Because the load object does not appear, it is null? window.onload = function() { load =…
-
0
votes0
answers227
viewsGenerate Vbscript log
I have the following code. ' Ajuste o número de psts a serem feitos backup. *Obs.: comece por 0* ' ReDim pst(0) ' Defina o local referente a cada arquivo a ser feito backup ' pst(0) =…
-
0
votes1
answer77
viewsAfter git reset, can you see git log before the reset?
I was in the following situation, I was doing a training and I got to a point that my page was not correctly loading being different from the instructor, everything indicated a problem of CSS so I…